spectrochempy.whittaker๏
- whittaker(dataset, lamb=1.0, order=2, **kwargs)[source]๏
Smooth the data using the Whittaker smoothing algorithm.
This implementation based on the work by Eilers [2003] uses sparse matrices enabling high-speed processing of large input vectors.
Copyright M. H. V. Werts, 2017 (see LICENSES/WITTAKER_SMOOTH_LICENSE.rst)
- Parameters:
dataset (
NDDataset) โ Input dataset to smooth.lamb (
float, optional, default: 1.0) โ The smoothing parameter. Larger values make the result smoother.order (
int, optional, default: 2) โ The difference order of the penalized least-squares.**kwargs (keyword arguments, optional) โ Additional keyword arguments passed to the filter.
- Returns:
NDdatasetโ Smoothed data.- Other Parameters:
See also
FilterFilter processing.