estimate_noise¶
-
sitelle.utils.estimate_noise(full_axis, full_spectrum, filter_lims, side='both')¶ Estimates the noise in an integrated spectra from sitelle, by measuring it outside of the filter range.
Parameters: - full_axis (1D
ndarray) – complete wavenumber axis of the cube - full_spectrum (1D
ndarray) – spectrum on this full axis - filter_lims (tuple of floats) – limits of the filter range (in wavenumber)
- side (str) – (Optional) if ‘right’ (‘left’), only the right (left) side of the filter is considered. Default to ‘both’
Returns: std – the standard deviaition of the signal outside the filter range, i.e. basically noise
Return type: float
- full_axis (1D