mtuq.io.clients.SPECFEM3D_SGT.Client

class mtuq.io.clients.SPECFEM3D_SGT.Client(path_or_url=None, model=None, include_mt=True, include_force=False)[source]

Bases: mtuq.io.clients.base.Client

SPECFEM3D strain Green’s tensor database client based on seisgen

Usage

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

from mtuq.io.clients.SPECFEM3D_SGT 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 SPECFEM3D/3D_GLOBE strain Green’s tensor databases, see seisgen documentation

Public Methods

get_greens_tensors

Extracts Green's tensors from database

set_local_db

Set and utilize the local database.

set_remote_db

Set and utilize the remote database.

Private Methods

Warning

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

_get_greens_tensor