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:
- x
numpy.ndarray
X-axis
- y
numpy.ndarray
Y-axis
- z
numpy.ndarray
Z-axis
- recs
numpy.ndarray
Receiver locations of size \(3 \times n_r\)
- vel
numpy.ndarray
Velocity model of size \(n_x \times n_y \times n_z\)
- src_idx
numpy.ndarray
Source location indices (relative to x, y, and z axes)
- comp_idx
int
Index of component at receiver side
- omega_p
float
Central frequency of source
- cosine_sourceangles
numpy.ndarray
, optional Cosine source angles of size \(3 \times n_r \times n_x \times n_y \times n_z\)
- dists
numpy.ndarray
Distances of size \(\times n_r \times n_x \times n_y \times n_z\), optional
- x
Methods
__init__
(x, y, z, recs, vel, src_idx, ...[, ...])invert
(d)Inversion
model
(mt)Modelling