RepresentationMapping¶
-
class
astropy.coordinates.
RepresentationMapping
[source] [edit on github]¶ Bases:
astropy.coordinates.RepresentationMapping
This
namedtuple
is used with theframe_specific_representation_info
attribute to tell frames what attribute names (and default units) to use for a particular representation.reprname
andframename
should be strings, whiledefaultunit
can be either an astropy unit, the string'recommended'
(to use whatever the representation’srecommended_units
is), or None (to indicate that no unit mapping should be done).