header_to_platescale

FITS_tools.header_tools.header_to_platescale(header, **kwargs)[source] [edit on github]

Attempt to determine the spatial platescale from a Header

Parameters:

header : Header

The FITS header to extract the platescale from

kwargs : dict

Passed to wcs_to_platescale. See that function for more details

Returns:

platescale : float or Quantity

The platescale in degrees with attached units if use_units is True