coordinates_from_header

glue.core.coordinates.coordinates_from_header(header)[source]

Convert a FITS header into a glue Coordinates object.

Parameters:

header : astropy.io.fits.Header

Header to convert

Returns:

coordinates : Coordinates