mtuq.io.clients.AxiSEM_NetCDF.Client

class mtuq.io.clients.AxiSEM_NetCDF.Client(path_or_url='', model='', kernelwidth=12, include_mt=True, include_force=False)[source]

Bases: mtuq.io.clients.base.Client

AxiSEM NetCDF database client (based on instaseis)

Usage

To instantiate a database client, supply a path or url:

from mtuq.io.clients.AxiSEM_NetCDF import Client
db = Client(path_or_url)

Then the database client can be used to generate GreensTensors:

greens_tensors = db.get_greens_tensors(stations, origin)

Note

For instructions on creating AxiSEM NetCDF databases, see AxiSEM user manual - Output wavefields in netcdf format needed for Instaseis

Public Methods

get_greens_tensors

Extracts Green's tensors from database

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

_get_greens_tensor