make_continuum#
- make_continuum(wave, flux, flux_denoised, grid, spectrei, continuum_to_produce=('all', 'all'))[source]#
Perform the classical sanity check sequence of continuum.
- Parameters:
wave (array_like) – Wavelength vector.
flux (array_like) – Flux vector.
flux_denoised (array_like) – Flux vector smoothed.
grid (array_like) – Length of the window for the savgol filtering.
spectrei (array_like) – No more used ?
continuum_to_produce (list) – Specifying on which continuum to perform the sanity check.
- Returns:
continuum_linear (array_like) – The linearly interpolated continuum
continuum_cubic (array_like) – The cubicly interpolated continuum
continuum_linear_denoised (array_like) – The linearly interpolated continuum denoised
continuum_cubic_denoised (array_like) – The cubicly interpolated continuum denoised