spherical2xy#
- StereographicProjection.spherical2xy(azimuth: Union[ndarray, list, tuple, float], polar: Union[ndarray, list, tuple, float], degrees: bool = False) Tuple[ndarray, ndarray][source]#
Return stereographic coordinates (X, Y) from 3D unit vectors created from spherical coordinates, azimuth \(\phi\) and polar \(\theta\), defined as in the ISO 31-11 standard [Weisstein, 2005].
- Parameters:
- azimuth
Spherical azimuth coordinate.
- polar
Spherical polar coordinate.
- degrees
If
True, the coordinates are assumed to be in degrees. Default isFalse.
- Returns:
xStereographic coordinate X of shape same shape as the input vector shape. Only the vectors with
zcoordinate positive (pole= -1) or negative (pole= 1) are returned.yStereographic coordinate Y of shape same shape as the input vector shape. Only the vectors with
zcoordinate positive (pole= -1) or negative (pole= 1) are returned.
See also