View source: R/baseline.lowpass.R
baseline.lowpass | R Documentation |
An algorithm for removing baselines based on Fast Fourier Transform filtering
baseline.lowpass(spectra, steep = 2, half = 5)
spectra |
Matrix with spectra in rows |
steep |
Steepness of filter curve |
half |
Half-way point of filter curve |
Since the scale of the spectra will be different after filtering, baselines will not be returned by the algorithm
baseline |
Matrix of baselines corresponding to spectra |
corrected |
Matrix of baseline corrected spectra |
Kristian Hovde Liland and Bjørn-Helge Mevik
AHMET K. ATAKAN, W. E. BLASS, and D. E. JENNINGS: Elimination of Baseline Variations from a Recorded Spectrum by Ultra-low Frequency Filtering
data(milk)
bc.lowpass <- baseline(milk$spectra[1,, drop=FALSE], method='lowpass')
## Not run:
plot(bc.lowpass)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.