coordinates_from_header#
- glue.core.coordinates.coordinates_from_header(header, hdulist=None)[source]#
Convert a FITS header into a glue Coordinates object.
- Parameters:
- header
astropy.io.fits.Header
Header to convert
- hdulist
astropy.io.fits.HDUList
, optional The full HDUList is required when header keywords point to a ‘Distortion Paper’ lookup table stored in a different extension.
- header
- Returns:
- coordinates
Coordinates
- coordinates