ess.sans.i_of_q.denoise_and_rebin_monitors(monitors, wavelength_bins, non_background_range=None)

Subtract a background baseline from monitor counts, taken as the mean of the counts outside the specified non_background_range.

  • monitors (Union[dict, DataArray]) – A DataArray containing monitor data, or a dict of monitor DataArrays. In the case of a dict of monitors, all entries in the dict will be background subtracted and rebinned.

  • wavelength_bins (Variable) – The binning in wavelength to use for the rebinning.

  • non_background_range (Optional[Variable], default: None) – The range of wavelengths that defines the data which does not constitute background. Everything outside this range is treated as background counts.

Return type