mttime.core.tensor.Tensor.get_tensor_elements

Tensor.get_tensor_elements(basis='XYZ')[source]

Retrieve the moment tensor elements

Function that returns the moment tensor in the specified system coordinates.

Parameters

basis (str) – system coordinates, default is XYZ. Refer to get_m_in_basis for supported systems.

Returns

a dictionary of moment tensor elements.

Return type

dict