multicolorfits.get_cdelts#

multicolorfits.get_cdelts(hdrin, getrot=False)[source]#

Function to calculate CDELT1 and CDELT2 from the input header PCx_x cards.

Parameters:
  • hdrin (astropy.io.fits.header) – Header object

  • getrot (bool) – Specifies whether to return the rotation value crota in the output

Returns:

float, float (, float) – CDELT1, CDELT2 (, CROTA)