Transformations#

class pygaia.astrometry.coordinates.Transformations(value)#

Bases: Enum

Enumeration with the available coordinate tranformations.

Attributes Summary

ECL2GAL

Transform from Ecliptic to Galactic coordinates.

ECL2ICRS

Transform from Ecliptic to ICRS coordinates.

GAL2ECL

Transform from Galactic to Ecliptic coordinates.

GAL2ICRS

Transform from Galactic to ICRS coordinates.

ICRS2ECL

Transform from ICRS to Ecliptic coordinates.

ICRS2GAL

Transform from ICRS to Galactic coordinates.

from_system

Coordinate system from which the transformation starts.

to_system

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