ramanspy.preprocessing.denoise.Whittaker
- class ramanspy.preprocessing.denoise.Whittaker(*, lam: Number = 1000.0, d: int = 2)[source]
Denoising based on Discrete Penalised Least Squares (a.k.a Whittaker−Henderson smoothing).
- Parameters:
lam (Number, optional, default=1e3) – Hyperparameter that controls the smoothing.
d (int, optional, default=1) – Smoothing order.
References
Eilers, P.H., 2003. A perfect smoother. Analytical chemistry, 75(14), pp.3631-3636.
Methods
__init__(*[, lam, d])apply(raman_objects)Applies the defined preprocessing method on the Raman spectroscopic objects provided.