i_make_fwhm {spectrolab} | R Documentation |
Resample the FWHM to a new set of bands using a gaussian model
Description
Resample the FWHM to a new set of bands using a gaussian model
Usage
i_make_fwhm(
old_bands,
old_fwhm,
new_bands,
new_fwhm,
return_type = "max",
k = 0
)
Arguments
old_bands |
band values of the original spectra |
old_fwhm |
FWHM for the original spectra |
new_bands |
band values for the resampled spectra |
new_fwhm |
FWHM for the resampled spectra |
return_type |
Either "max" (default) or "old". Max returns the maximum from either the old or the new FWHM for each band |
k |
number of FWHM categories. Defaults to 0, which means, return the FWHM in as much detail as possible. |
Value
a numeric vector of FWHM estimates
[Package spectrolab version 0.0.19 Index]