Bases: astropy.units.quantity.Quantity
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 : ~numpy.dtype, optional
copy : bool, optional
|
---|---|
Raises : | astropy.units.UnitsError : ValueError : TypeError : |
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 : astropy.units.Quantity
lat : astropy.units.Quantity
lon : astropy.units.Quantity
|
---|