This is useful for generating certain types of baseline "reference spectra".
wl_eval(x, ..., normalize.wl = I)
# S3 method for hyperSpec
wl_eval(x, ..., normalize.wl = I)
# S3 method for numeric
wl_eval(x, ..., normalize.wl = I)
either hyperSpec
object or numeric vector.
expressions to be evaluated.
function to transform the wavelengths before evaluating
the polynomial (or other function). Use normalize_01()
to map
the wavelength range to the interval [0, 1].
hyperSpec
object containing one spectrum for each expression.
vanderMonde()
for polynomials,
normalize_01()
to normalize the wavenumbers before evaluating
the function.