ramanspy.preprocessing.baseline.ASLS

class ramanspy.preprocessing.baseline.ASLS(*, lam=1000000.0, p=0.01, diff_order=2, max_iter=50, tol=0.001, weights=None)[source]

Baseline correction based on Asymmetric Least Squares (AsLS).

Parameters:

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

Note

Implementation based on pybaselines.

References

Eilers, P. A Perfect Smoother. Analytical Chemistry, 2003, 75(14), 3631-3636.

Eilers, P., et al. Baseline correction with asymmetric least squares smoothing. Leiden University Medical Centre Report, 2005, 1(1).

__init__(*, lam=1000000.0, p=0.01, diff_order=2, max_iter=50, tol=0.001, weights=None)[source]

Methods

__init__(*[, lam, p, diff_order, max_iter, ...])

apply(raman_objects)

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