Resample the FWHM to a new set of bands using a gaussian model
make_fwhm(spec, new_bands, new_fwhm = NULL, return_type = "max", k = 3)
FWHM as a numeric vector
spectra object
band values to resample the spectra to
FWHM for the new bands
either "max" or "old". If "old" (default), it returns the fwhm inferred from the original's spectra bands. If max (default), it returns the max between the new and old fwhm.
number of unique FHWM to estimate