This is useful for generating certain types of baseline "reference spectra".

wl.eval(x, ..., normalize.wl = I)

Arguments

x

hyperSpec object

...

hyperSpec method: expressions to be evaluated

normalize.wl

function to transorm the wavelengths before evaluating the polynomial (or other function). Use normalize01() to map the wavelength range to the interval [0, 1].

Value

hyperSpec object containing one spectrum for each expression

See also

vanderMonde() for polynomials,

normalize01() to normalize the wavenumbers before evaluating the function

Author

C. Beleites

Examples

plot(wl.eval(laser, exp = function(x) exp(-x)))