RepresentationMapping#
- class astropy.coordinates.RepresentationMapping(reprname: str, framename: str, defaultunit: str | Unit = 'recommended')[source]#
 Bases:
NamedTupleThis
NamedTupleis used with theframe_specific_representation_infoattribute to tell frames what attribute names (and default units) to use for a particular representation.reprnameandframenameshould be strings, whiledefaultunitcan be either an astropy unit, the string'recommended'(which is degrees for Angles, nothing otherwise), or None (to indicate that no unit mapping should be done).Create new instance of RepresentationMapping(reprname, framename, defaultunit)
Attributes Summary
Alias for field number 2
Alias for field number 1
Alias for field number 0
Attributes Documentation
- framename: str#
 Alias for field number 1
- reprname: str#
 Alias for field number 0