mtuq.MomentTensor

class mtuq.MomentTensor(array, convention='USE')[source]

Bases: object

Moment tensor object

Note

The constructor accepts six-element arrays in any ObsPy basis convention. Moment tensors are then converted to and internally represented in the up-south-east convention.

Public Methods

as_dict

Returns dictionary in up-south-east convention

as_matrix

Returns 2D symmetric NumPy array in up-south-east convention

as_vector

Returns 1D NumPy array in up-south-east convention

cast

Returns 1D NumPy array in given basis convention

magnitude

Calculates moment magnitude (M_w)

moment

Calculates seismic moment (M_0)