multicolorfits.make_simple_header#
- multicolorfits.make_simple_header(headerin, naxis=2, radesys=None, equinox=None, pywcsdirect=False)[source]#
Function to make a new ‘simple header’ from the WCS information in the input header.
- Parameters:
headerin (astropy.io.fits.header) – Header object
naxis (int) – Specifies how many axes the final header should have. Default=2
radesys (str) – RA/DEC system to use (valid SkyCoord frame system, e.g. ‘icrs’)
equinox (str) – Equinox to use for the output header
pywcsdirect (bool) – True to create the header directly with astropy.wcs.WCS
- Returns:
astropy.io.fits.header – Output header