coordinates_from_header

glue.core.coordinates.coordinates_from_header(header, hdulist=None)[source]

Convert a FITS header into a glue Coordinates object.

Parameters
headerastropy.io.fits.Header

Header to convert

Returns
coordinatesCoordinates