Bases: astropy.units.quantity.Quantity
Deprecated since version v0.4: The CartesianPoints class is deprecated and may be removed in a future version. Use astropy.coordinates.CartesianRepresentation instead.
A cartesian representation of a point in three-dimensional space.
Parameters: | x : Quantity or array-like
y : Quantity or array-like, optional
z : Quantity or array-like, optional
unit : UnitBase object or None
dtype : dtype, optional
copy : bool, optional
|
---|---|
Raises: | UnitsError
ValueError
TypeError
|
Deprecated since version v0.4: The CartesianPoints class is deprecated and may be removed in a future version. Use astropy.coordinates.CartesianRepresentation instead.
Attributes Summary
x | The second cartesian coordinate as a Quantity. |
y | The second cartesian coordinate as a Quantity. |
z | The third cartesian coordinate as a Quantity. |
Methods Summary
to_spherical() | Converts to the spherical representation of this point. |
Attributes Documentation
Methods Documentation
Converts to the spherical representation of this point.
Returns: | r : Quantity
lat : Quantity
lon : Quantity
|
---|