RadialDifferential¶
-
class
astropy.coordinates.RadialDifferential(*args, **kwargs)[source] [edit on github]¶ Bases:
astropy.coordinates.BaseDifferentialDifferential(s) of radial distances.
Parameters: d_distance :
QuantityThe differential distance.
copy : bool, optional
If
True(default), arrays will be copied rather than referenced.Attributes Summary
attr_classesd_distanceComponent ‘d_distance’ of the Differential. Methods Summary
from_cartesian(other, base)from_representation(representation[, base])to_cartesian(base)Convert the differential to 3D rectangular cartesian coordinates. Attributes Documentation
-
attr_classes= {'d_distance': <class 'astropy.units.quantity.Quantity'>}¶
-
d_distance¶ Component ‘d_distance’ of the Differential.
Methods Documentation
-
classmethod
from_cartesian(other, base)[source] [edit on github]¶
-
classmethod
from_representation(representation, base=None)[source] [edit on github]¶
-
to_cartesian(base)[source] [edit on github]¶ Convert the differential to 3D rectangular cartesian coordinates.
Parameters: base : instance of
self.base_representationThe points for which the differentials are to be converted: each of the components is multiplied by its unit vectors and scale factors.
Returns: This object as a
CartesianDifferential
-