mtuq.GreensTensor

class mtuq.GreensTensor(traces=None, station=None, origin=None, id=None, tags=[], include_mt=True, include_force=False)[source]

Bases: obspy.core.stream.Stream

Holds multiple time series corresponding to the independent elements of an elastic Green’s tensor

Note

Besides the methods below, GreensTensor includes many useful data processing methods inherited from obspy.core.Stream. See ObsPy documentation for more information.

Public Methods

convolve

Convolves time series with given wavelet

get_synthetics

Generates synthetics through a linear combination of time series

select

Selects time series that match the supplied metadata criteria

Private Methods

Warning

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

_allocate_stream

Allocates ObsPy stream used by get_synthetics

_get_shape

Returns shape of NumPy array used by get_synthetics

_preallocate

Preallocates structures used by get_synthetics

_precompute

Precomputes NumPy array used by get_synthetics

_set_components

Gets called before or during get_synthetics to specify which components are returned