fracspy.mtinversion.mtai.MTA#

class fracspy.mtinversion.mtai.MTA(x, y, z, recs, vel, src_idx, cmp_idx, omega_p, cosine_sourceangles=None, dists=None)[source]#

Moment-Tensor Amplitude modelling and inversion

This class acts as an abstract interface for users to perform moment-tensor modelling of far-field amplitudes

Parameters:
xnumpy.ndarray

X-axis

ynumpy.ndarray

Y-axis

znumpy.ndarray

Z-axis

recsnumpy.ndarray

Receiver locations of size \(3 \times n_r\)

velnumpy.ndarray

Velocity model of size \(n_x \times n_y \times n_z\)

src_idxnumpy.ndarray

Source location indices (relative to x, y, and z axes)

comp_idxint

Index of component at receiver side

omega_pfloat

Central frequency of source

cosine_sourceanglesnumpy.ndarray, optional

Cosine source angles of size \(3 \times n_r \times n_x \times n_y \times n_z\)

distsnumpy.ndarray

Distances of size \(\times n_r \times n_x \times n_y \times n_z\), optional

Methods

__init__(x, y, z, recs, vel, src_idx, ...[, ...])

invert(d)

Inversion

model(mt)

Modelling