ewoksxas.fit.peak_fit.Baseline#
- class ewoksxas.fit.peak_fit.Baseline(label, theory_name)[source]#
Bases:
EnumA baseline option and the silx background theory it maps to.
The background is fitted by silx together with the peaks.
STRIPandSNIPare silx’s iterative peak-stripping backgrounds, suited to multi-peak spectra; their filter settings come from the fit configuration (seePeakModel).- Parameters:
label (
str)theory_name (
str)
- LINEAR = ('linear', 'Linear')#
- NONE = ('none', 'No Background')#
- OFFSET = ('offset', 'Constant')#
- SNIP = ('snip', 'Snip')#
- STRIP = ('strip', 'Strip')#