Values calculated by interpolation from user-supplied spectral emission data
or by name for light source data included in the packages photobiologySun,
photobiologyLamps, or photobiologyLEDs, optionally re-scaling the spectral
data values.
numeric vector of spectral transmittance value (fractions
or percent).
unit.in
a character string "energy" or "photon".
scaled
NULL, "peak", "area"; div ignored if !is.null(scaled).
fill
if NA, no extrapolation is done, and NA is returned for
wavelengths outside the range of the input. If NULL then the tails are
deleted. If 0 then the tails are set to zero.
...
Additional arguments passed to spline if called.
Value
a source_spct with three numeric vectors with wavelength values
(w.length), scaled and interpolated spectral energy irradiance (s.e.irrad),
scaled and interpolated spectral photon irradiance values (s.q.irrad).