WCSCoordinates

class glue.core.coordinates.WCSCoordinates(header=None, wcs=None)[source]

Bases: glue.core.coordinates.Coordinates

Class for coordinate transformation based on the WCS FITS standard. This class does not take into account distortions.

Parameters:

header : astropy.io.fits.Header

FITS header (derived from WCS if not given)

wcs : astropy.wcs.WCS

WCS object to use, if different from header

References

  • Greisen & Calabretta (2002), Astronomy and Astrophysics, 395, 1061
  • Calabretta & Greisen (2002), Astronomy and Astrophysics, 395, 1077
  • Greisen, Calabretta, Valdes & Allen (2006), Astronomy and Astrophysics, 446, 747

Attributes Summary

header
wcs

Methods Summary

axis_label(axis)
dependent_axes(axis)
pixel2world(*pixel)
world2pixel(*world)
world_axis_unit(axis)

Attributes Documentation

header[source]
wcs[source]

Methods Documentation

axis_label(axis)[source]
dependent_axes(axis)[source]
pixel2world(*pixel)[source]
world2pixel(*world)[source]
world_axis_unit(axis)[source]