Transformations#
- class pygaia.astrometry.coordinates.Transformations(value)#
Bases:
Enum
Enumeration with the available coordinate tranformations.
Attributes Summary
Transform from Ecliptic to Galactic coordinates.
Transform from Ecliptic to ICRS coordinates.
Transform from Galactic to Ecliptic coordinates.
Transform from Galactic to ICRS coordinates.
Transform from ICRS to Ecliptic coordinates.
Transform from ICRS to Galactic coordinates.
Coordinate system from which the transformation starts.
Target coordinate system of the transformation.
Attributes Documentation
- ECL2GAL = ('Ecliptic', 'Galactic')#
Transform from Ecliptic to Galactic coordinates.
- ECL2ICRS = ('Ecliptic', 'ICRS')#
Transform from Ecliptic to ICRS coordinates.
- GAL2ECL = ('Galactic', 'Ecliptic')#
Transform from Galactic to Ecliptic coordinates.
- GAL2ICRS = ('Galactic', 'ICRS')#
Transform from Galactic to ICRS coordinates.
- ICRS2ECL = ('ICRS', 'Ecliptic')#
Transform from ICRS to Ecliptic coordinates.
- ICRS2GAL = ('ICRS', 'Galactic')#
Transform from ICRS to Galactic coordinates.
- from_system#
Coordinate system from which the transformation starts.
- Returns:
fromsystem – String representation of the starting system.
- Return type:
str
- to_system#
Target coordinate system of the transformation.
- Returns:
tosystem – String representation of the target system.
- Return type:
str