SuperGalacticCoordinates

class sofia_redux.scan.coordinate_systems.super_galactic_coordinates.SuperGalacticCoordinates(coordinates=None, unit='degree', copy=True)[source]

Bases: CelestialCoordinates

Initialize a set of super-galactic coordinates.

The super-galactic coordinates reference the plane of the local super-cluster of galaxies as observed from Earth. The super-galactic plane intersects with the galactic plane at (137.37, 0) degrees in galactic coordinates, and the super-galactic pole is at (47.37, 6.32) degrees in galactic coordinates.

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 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.

Attributes Summary

EQUATORIAL_POLE

GALACTIC_POLE

GALACTIC_ZERO

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

copy()

Return a copy of the super-galactic coordinates.

edit_header(header, key_stem[, alt])

Edit the header with super-galactic coordinate information.

get_equatorial_pole()

Return the equatorial pole.

get_zero_longitude()

Return the zero longitude value.

setup_coordinate_system()

Setup the system for the coordinates.

Attributes Documentation

EQUATORIAL_POLE = RA=18h54m53.40242832s DEC=15d38m54.0646036s (J2000.0) <sofia_redux.scan.coordinate_systems.equatorial_coordinates.EquatorialCoordinates object>
GALACTIC_POLE = LON=47d22m12s LAT=6d19m12s <sofia_redux.scan.coordinate_systems.galactic_coordinates.GalacticCoordinates object>
GALACTIC_ZERO = LON=137d22m12s LAT=0d00m00s <sofia_redux.scan.coordinate_systems.galactic_coordinates.GalacticCoordinates object>
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

copy()[source]

Return a copy of the super-galactic coordinates.

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

Edit the header with super-galactic 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
setup_coordinate_system()[source]

Setup the system for the coordinates.

Returns:
None