ramanspy.preprocessing.baseline.ASPLS

class ramanspy.preprocessing.baseline.ASPLS(*, lam=100000.0, diff_order=2, max_iter=100, tol=0.001, weights=None, alpha=None)[source]

Baseline correction based on Adaptive Smoothness Penalized Least Squares (asPLS).

Parameters:

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

Note

Implementation based on pybaselines.

References

Zhang, F., et al. Baseline correction for infrared spectra using adaptive smoothness parameter penalized least squares method. Spectroscopy Letters, 2020, 53(3), 222-233.

__init__(*, lam=100000.0, diff_order=2, max_iter=100, tol=0.001, weights=None, alpha=None)[source]

Methods

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

apply(raman_objects)

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