mtuq.Force

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

Bases: object

Force source

Note

The constructor accepts three-element arrays in any ObsPy basis convention. Forces 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_vector

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

cast

Returns 1D NumPy array in given basis convention