ramanspy.preprocessing.baseline.ModPoly

class ramanspy.preprocessing.baseline.ModPoly(*, poly_order=2, tol=0.001, max_iter=250, weights=None, use_original=False, mask_initial_peaks=False)[source]

Baseline correction based on modified polynomial fitting.

Parameters:

**kwargs – Check original implementation for information about parameters.

Note

Implementation based on pybaselines.

References

Lieber, C., et al. Automated method for subtraction of fluorescence from biological raman spectra. Applied Spectroscopy, 2003, 57(11), 1363-1367.

Gan, F., et al. Baseline correction by improved iterative polynomial fitting with automatic threshold. Chemometrics and Intelligent Laboratory Systems, 2006, 82, 59-65.

__init__(*, poly_order=2, tol=0.001, max_iter=250, weights=None, use_original=False, mask_initial_peaks=False)[source]

Methods

__init__(*[, poly_order, tol, max_iter, ...])

apply(raman_objects)

Applies the defined preprocessing method on the Raman spectroscopic objects provided.