internal.closestWavelength: Internal function. Find the closest wavelengths to the stated peaks
Description
Internal function. Find the closest wavelengths to the stated peaks
Usage
internal.closestWavelength(wavelength_vec, peak_wavelengths)
Value
Vector of wavelengths closest to the stated peaks
Arguments
- wavelength_vec
Vector of wavelengths that we have spectrometry data for
- peak_wavelengths
Vector of stated LED peaks