get_spectral_mapping

FITS_tools.spectral_regrid.get_spectral_mapping(header1, header2, specaxis1=None, specaxis2=None)[source] [edit on github]

Determine the mapping from header1 pixel units to header2 pixel units along their respective spectral axes