Baseline Correction of Spectra

Collection of baseline correction algorithms, along with a framework and a Tcl/Tk enabled GUI for optimising baseline algorithm parameters. Typical use of the package is for removing background effects from spectra originating from various types of spectroscopy and spectrometry, possibly optimizing this with regard to regression or classification results. Correction methods include polynomial fitting, weighted local smoothers and many more.


NEWS file for package baseline Collection of baseline correction algorithms, along with a framework and a GUI for optimising baseline algorithm parameters. Kristian Hovde Liland and Bjørn-Helge Mevik, Norway

Version 1.2-0

Date: 11 March 2015

Added Shirley background correction for X-ray Photoelectron Spectroscopy.

Version 1.1-2

Date: 02 May 2013

Fixed bug in environment setting (tip from Tom Wenseleers).

Version 1.1-1

Date: 27 March 2013

Fixed bug concerning naming of methods in the user interfaces (tip from Tom Wenseleers). Minor changes to conform to new rules concerning assigning variables to the global environment.

Version 1.1-0

Date: 24 June 2012

Open up for user extensions of baseline algorithms for plotting and optimisation through different use of the list baselineAlgorithms.

Added list baselineAlgorithmsGUI for setting up graphical user interface with baseline algorithms included in the baselineAglrithms list.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.3-1 by Kristian Hovde Liland, a year ago

Browse source code at

Authors: Kristian Hovde Liland [aut, cre] , Bjørn-Helge Mevik [aut] , Roberto Canteri [ctb]

Documentation:   PDF Manual  

GPL-2 license

Imports graphics, SparseM, grDevices, stats, methods, limSolve

Suggests gWidgets2, gWidgets2tcltk, IDPmisc, lattice, pls, MASS

Imported by pems.utils, powdR, specmine, spectacles, spectralAnalysis, takos.

Suggested by ChemoSpec, hyperSpec.

See at CRAN