An intelligence background-correction algorithm for highly fluorescent sample in Raman spectroscopy has been developed with peak detection and width estimation by CWT wavelet and background fitting by penalized least squares. The programming language is R(http://www.r-project.org/).
Firstly, you must download and install R 2.8.1 from the urls as follows:
for linux: http://cran.r-project.org/src/base/R-2/R-2.8.1.tar.gz
for windows: http://cran.r-project.org/bin/windows/base/old/2.8.1/R-2.8.1-win32.exe
Then, download the baselineWavelet package from this project download pages.
for linux: http://baselinewavelet.googlecode.com/files/baselineWavelet_3.0.0.tar.gz
for windows: http://baselinewavelet.googlecode.com/files/baselineWavelet_3.0.0.zip
Finally,install the downloaded packages from local zip or tar.gz file.
To start running this algorithm, load the baselineWavelet package through "library(baselineWavelet)" in the R commandline windows, try "?baselineWavelet" in the R commandline windows to open the documents.
3. What's new
What's new in newer version:
1. From version 2.0 to 3.0: Rewirte the WhittakerSmooth function, don't use the cholskey decomposition any more.
2. From version 1.0 - 2.0: Two functions, say baselineCorrectionCWT() and WhittakerSmoother(), in the baselineWavelet package were modified (add a parameter) so that one could easily perform first, second or even higher differences penalties by adjusting the parameter for the purpose.
4. Correction example This is a correction example: