Package ‘photobiology’ defines a system of classes for storing spectral data and accompanying methods and operators. This is the core of a suite of R packages for photobiological calculations.
4
stars
1
forks
source link
Add to `fit_peaks()` support for additional methods #29
Currently the only method supported is spline, which is usually o.k. for estimating the wavelength location but not the height of a peak. Fitting Gauss, Lorentz and Voigt functions could be implemented as these are frequently used, at least when peaks are on a low baseline
See files in folder inst-not for background information. These would need to use nls() and some kind of self starting functions.
Currently the only method supported is
spline
, which is usually o.k. for estimating the wavelength location but not the height of a peak. Fitting Gauss, Lorentz and Voigt functions could be implemented as these are frequently used, at least when peaks are on a low baselineSee files in folder
inst-not
for background information. These would need to usenls()
and some kind of self starting functions.See also function
fit_peaks()
in package 'chromatographR'.