scippneutron.peaks.remove_peaks#
- scippneutron.peaks.remove_peaks(data, fit_results)[source]#
Remove peaks from data by subtracting fitted models.
Peaks are removed by subtracting fitted peak models from the data. The background models are ignored in this operation.
- Parameters:
- Returns:
DataArray–datawith peaks removed.
See also
fit_peaksFit the peaks in
dataand construct the required input tofit_results.