to_polar#

NeoEuler.to_polar(degrees: bool = False) Tuple[ndarray, ndarray, ndarray][source]#

Return the azimuth \(\phi\), polar \(\theta\), and radial \(r\) spherical coordinates defined as in the ISO 31-11 standard [Weisstein, 2005].

Parameters:
degrees

If True, the given angles are returned in degrees. Default is False.

Returns:
azimuth

Azimuth angles in radians (degrees=False) or degrees (degrees=True).

polar

Polar angles in radians (degrees=False) or degrees (degrees=True).

radial

Radial values.