Rolling ball
Ideas from Rolling Ball algorithm for X-ray spectra by M.A.Kneen and H.J. Annegarn. Variable window width has been left out
baseline.rollingBall(spectra, wm, ws)
| spectra | Matrix with spectra in rows | 
| wm | Width of local window for minimization/maximization | 
| ws | Width of local window for smoothing | 
| baseline  | Matrix of baselines corresponding to spectra  | 
| corrected  | Matrix of baseline corrected spectra | 
Kristian Hovde Liland and Bjørn-Helge Mevik
M.A. Kneen, H.J. Annegarn: Algorithm for fitting XRF, SEM and PIXE X-ray spectra backgrounds
data(milk) bc.rollingBall <- baseline(milk$spectra[1,, drop=FALSE], wm=200, ws=200, method='rollingBall') ## Not run: plot(bc.rollingBall) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.