Bases: astropy.coordinates.BaseRepresentation
Representation of points in 3D spherical coordinates.
Parameters: | lon, lat : Quantity distance : Quantity copy : bool, optional
|
---|
Attributes Summary
attr_classes | Dictionary that remembers insertion order |
distance | The distance from the origin to the point(s). |
lat | The latitude of the point(s). |
lon | The longitude of the point(s). |
recommended_units |
Methods Summary
from_cartesian(cart) | Converts 3D rectangular cartesian coordinates to spherical polar coordinates. |
represent_as(other_class) | |
to_cartesian() | Converts spherical polar coordinates to 3D rectangular cartesian coordinates. |
Attributes Documentation
The distance from the origin to the point(s).
The latitude of the point(s).
The longitude of the point(s).
Methods Documentation
Converts 3D rectangular cartesian coordinates to spherical polar coordinates.
Converts spherical polar coordinates to 3D rectangular cartesian coordinates.