scippneutron.peaks#

Peak fitting and removal.

Classes

FitAssessment(value)

Indicates whether the fit was successful or how if failed.

FitParameters(*[, ...])

Parameters for fitting peaks.

FitResult(*, aic, assessment, background, ...)

Optimized parameters and fit statistics for a single peak.

FitRequirements(*[, min_p_value, ...])

Requirements that fitted models must satisfy to be considered successful.

Functions

fit_peaks(data, *, peak_estimates, windows, ...)

Fit peaks to data.

remove_peaks(data, fit_results)

Remove peaks from data by subtracting fitted models.

Modules

model

Models for peaks and background.