Last chance! 50% off unlimited learning
Sale ends in
This function returns the energy irradiance for a series of contiguous wavebands from a radiation-source spectrum. The returned values can be either absolute or relative to their sum.
split_energy_irradiance(w.length, s.irrad, cut.w.length = range(w.length),
unit.in = "energy", scale = "absolute", check.spectrum = TRUE,
use.cached.mult = FALSE, use.hinges = getOption("photobiology.use.hinges",
default = NULL))
numeric Vector of wavelengths (nm)
numeric Corresponding vector of spectral (energy) irradiances (W m-2 nm-1)
numeric Vector of wavelengths (nm)
character A string with allowed values "energy", and "photon", or its alias "quantum"
character A string indicating the scale used for the returned values ("absolute", "relative", "percent")
logical indicating whether to sanity check input data, default is TRUE
logical indicating whether multiplier values should be cached between calls
logical indicating whether to use hinges to reduce interpolation errors
a numeric array of irradiances with no change in scale factor: [W m-2 nm-1] -> [mol s-1 m-2] or relative values (fraction of one) if scale = "relative" or scale = "percent"
Other split a spectrum into regions functions: split_irradiance
,
split_photon_irradiance
with(sun.data,
split_energy_irradiance(w.length, s.e.irrad,
cut.w.length = c(300, 400, 500, 600, 700)))
Run the code above in your browser using DataLab