EclipticCoordinates

class sofia_redux.scan.coordinate_systems.ecliptic_coordinates.EclipticCoordinates(coordinates=None, unit='degree', copy=True, epoch=<sofia_redux.scan.coordinate_systems.epoch.epoch.JulianEpoch object>)[source]

Bases: PrecessingCoordinates

Initialize ecliptic coordinates.

The ecliptic coordinates contain precessing celestial coordinates, generally used for representation of Solar system objects with respect to the Earth’s ecliptic plane of orbit about the Sun.

Parameters:
coordinateslist or tuple or array-like or units.Quantity, optional

The coordinates used to populate the object during initialization. The first (0) value or index should represent longitudinal coordinates, and the second should represent latitude.

unitunits.Unit or str, optional

The angular unit for the spherical coordinates. The default is ‘degree’.

copybool, optional

Whether to explicitly perform a copy operation on the input coordinates when storing them into these coordinates. Note that it is extremely unlikely for the original coordinates to be passed in as a reference due to the significant checks performed on them.

epochEpoch or str or int or float or Time or fits.Header, optional

Information from which to set the epoch for these coordinates.

Attributes Summary

EQUATORIAL_POLE

INCLINATION

equatorial_pole

Return an equatorial pole.

fits_latitude_stem

Return the string prefix for latitude (DEC).

fits_longitude_stem

Return the string prefix for longitude (RA).

two_letter_code

Return the two-letter code for the coordinate system.

Methods Summary

edit_header(header, key_stem[, alt])

Edit the header with ecliptic coordinate information.

get_equatorial_pole()

Return the equatorial pole.

get_zero_longitude()

Return the zero longitude value.

precess_to_epoch(new_epoch)

Precess from one epoch to another.

setup_coordinate_system()

Setup the system for the coordinates.

Attributes Documentation

EQUATORIAL_POLE = RA=18h00m00s DEC=66d33m30s (J2000.0) <sofia_redux.scan.coordinate_systems.equatorial_coordinates.EquatorialCoordinates object>
INCLINATION = <Quantity 23.44166667 deg>
equatorial_pole

Return an equatorial pole.

Returns:
poleEquatorialCoordinates
fits_latitude_stem

Return the string prefix for latitude (DEC).

Returns:
str
fits_longitude_stem

Return the string prefix for longitude (RA).

Returns:
str
two_letter_code

Return the two-letter code for the coordinate system.

Returns:
str

Methods Documentation

edit_header(header, key_stem, alt='')[source]

Edit the header with ecliptic coordinate information.

Parameters:
headerastropy.io.fits.header.Header

The header to modify.

key_stemstr

The name of the header key to update.

altstr, optional

The alternative coordinate system.

Returns:
None
classmethod get_equatorial_pole()[source]

Return the equatorial pole.

Returns:
poleEquatorialCoordinates
classmethod get_zero_longitude()[source]

Return the zero longitude value.

Returns:
astropy.units.Quantity
precess_to_epoch(new_epoch)[source]

Precess from one epoch to another.

Parameters:
new_epochEpoch
Returns:
None
setup_coordinate_system()[source]

Setup the system for the coordinates.

Returns:
None