Spectral smoothing: splines and Savitzky-Golay filters
hyperSpec
offers several ways for spectral smoothing:
loess
via functionspc.loess
- binning of wavelenghts via function
spc.bin
- smoothing splines via function
spc.smooth.spline
- Several further filter, e.g. Savitzky-Golay smoothing, are available in package
savgol
. This funciton can be applied directly to thehyperSpec
object:apply (chondro, 1, sgolayfilt, n = 11)
Published: 2013-05-16 news baseline smoothing