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
Extracts Green's tensors from database
Set and utilize the local database.
Set and utilize the remote database.
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.