cwitools.reduction.units.air2vac

cwitools.reduction.units.air2vac(fits_in, mask=False)

Covert wavelengths in a cube from standard air to vacuum.

Parameters:
  • fits_in (astropy HDU / HDUList) – Input HDU/HDUList with 3D data.
  • mask (bool) – Set if the cube is a mask cube.
Returns:

Trimmed FITS object with updated header. *Return type matches type of fits_in argument.

Return type:

HDU / HDUList*