parse_central_wavenumber¶
- sofia_redux.instruments.exes.utils.parse_central_wavenumber(header)[source]¶
Parse the central wavenumber from the input header.
Typically, the WAVENO0 keyword is set in the raw data by the instrument control software according to the planned observation settings. However, it is usually insufficiently accurate for wavelength calibration purposes, so it may be overridden by a more accurate value in the WNO0 keyword.
If WNO0 is set to a float value greater than zero, it is used as the central wavenumber. If not, WAVENO0 is used as the central wavenumber.
- Parameters:
- headerastropy.io.fits.Header
The FITS header containing wavenumber keys.
- Returns:
- central_wavenofloat
The wavenumber determined from the input header.