ramanspy.preprocessing.baseline.DRPLS

class ramanspy.preprocessing.baseline.DRPLS(*, lam=100000.0, eta=0.5, max_iter=50, tol=0.001, weights=None, diff_order=2)[source]

Baseline correction based on Doubly Reweighted Penalized Least Squares (drPLS).

Parameters:

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

Note

Implementation based on pybaselines.

References

Xu, D. et al. Baseline correction method based on doubly reweighted penalized least squares, Applied Optics, 2019, 58, 3913-3920.

__init__(*, lam=100000.0, eta=0.5, max_iter=50, tol=0.001, weights=None, diff_order=2)[source]

Methods

__init__(*[, lam, eta, max_iter, tol, ...])

apply(raman_objects)

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