Baselining and Offset Correction

baseline - Subtracts a polynomial baseline offset from spectra.   [demo]
baselinew - Baseline using windowed polynomial filter.   [demo]
wlsbaseline - Weighted least squares baseline function.
mscorr - Multiplicative scatter/signal correction (MSC).   [demo]
savgol - Savitzky-Golay smoothing and differentiation.   [demo]

lsq2top - Fits a polynomial to the top/(bottom) of data.   [demo]