read_wavelength_axis¶
-
sitelle.utils.read_wavelength_axis(header, axis)¶ Generates the right wavelength axis from a FITS header
Parameters: - header (dict) – The header to update
- axis (int) – Index of the axis on which the wavelength axis is stored in the header
Returns: axis – The parsed wavelength axis
Return type: 1D
ndarray