regular_wl_axis¶
-
sitelle.utils.regular_wl_axis(axis, xlims=None)¶ Converts a wavenumber axis ([cm-1]) into a regular (==equally spaced) wavelength axis ([Angstroms])
Parameters: - axis (1D
ndarray) – Input axis in cm-1 - xlims (tuple of floats) – (Optional) limits in cm-1 to reduce the range of the axis (typically : filter range)
Returns: reg_axis – a regular axis in Angstroms
Return type: 1D
ndarray- axis (1D