Polynomial Baseline Fitting These functions fit polynomal baselines.
Both functions fit polynomials to be used as baselines. If
hyperSpec object with the polynomial coefficients
is returned, otherwise the polynomials are evaluated on the spectral range
spc.fit.poly.below tries to fit the baseline on appropriate spectral
ranges of the spectra in
fit.to. For details, see the
1 2 3 4
order of the polynomial to be used
minmal number of points used for fitting the polynomial
noise level to be considered during the fit. It may be given as one value for all the spectra, or for each spectrum separately.
spc.fit.poly calculates the least squares fit of order
poly.order to the complete spectra given in
fit.to needs to be cut appropriately.
hyperspec object containing the baselines in the spectra
matrix, either as polynomial coefficients or as polynomials evaluted on
the spectral range of
vignette ("baseline", package = "hyperSpec")
1 2 3 4 5 6 7 8 9
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.