mtuq.util.math.to_rtp

mtuq.util.math.to_rtp(F0, phi, h)[source]

Converts from spherical to Cartesian coordinates (up-south-east)

Parameters: F0 (float or numpy array): The radial distance from the origin phi (float or numpy array): The azimuthal angle in degrees - 0 to 360 range, where 0 is East. Anticlockwise positive. h (float or numpy array): The cosine of the polar angle - -1 to 1 range, where 1 is Up

Returns: numpy array: The Cartesian coordinates in the up-south-east system