Description Usage Arguments Value Author(s) Examples
This function allows applying a Savitzky-Golay smoothing filter to the mid-infrared spectrum (N spectra= 1).
1 |
spectrum |
matrix. The matrix of FTIR spectra. The first row corresponds to wavenumber; the second row corresponds to absorbances. |
p |
numeric. Filter order. Defaults to 2. |
sw |
numeric. Filter length (must be odd). Defaults to 21. |
A smoothed spectrum matrix by means of a Savitzky-Golay smoothing filter. The first row corresponds to wavenumber; the second row corresponds to absorbances.
Claudio Pozo Valenzuela [aut, cre] and Saddys Rodriguez-llamazares [aut]
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.