Calculate (energy) irradiance from spectral irradiance
Energy irradiance for a waveband from a radiation spectrum, optionally applying a "biological spectral weighting function" or BSWF.
energy_irradiance(
w.length,
s.irrad,
w.band = NULL,
unit.in = "energy",
check.spectrum = TRUE,
use.cached.mult = FALSE,
use.hinges = getOption("photobiology.use.hinges", default = NULL)
)w.length |
numeric vector of wavelength (nm). |
s.irrad |
numeric vector of spectral irradiances, by default as energy (W m-2 nm-1). |
w.band |
waveband. |
unit.in |
a character Allowed values "photon" or "energy", default is "energy". |
check.spectrum |
logical Flag indicating whether to sanity check input data, default is TRUE. |
use.cached.mult |
logical Flag indicating whether multiplier values should be cached between calls. |
use.hinges |
logical Flag indicating whether to insert "hinges" into the spectral data before integration so as to reduce interpolation errors at the boundaries of the wavebands. |
A single numeric value with no change in scale factor: [W m-2 nm-1] -> [W m-2].
Other low-level functions operating on numeric vectors.:
as_energy(),
as_quantum_mol(),
calc_multipliers(),
div_spectra(),
energy_ratio(),
insert_hinges(),
integrate_xy(),
interpolate_spectrum(),
irradiance(),
l_insert_hinges(),
oper_spectra(),
photon_irradiance(),
photon_ratio(),
photons_energy_ratio(),
prod_spectra(),
s_e_irrad2rgb(),
split_energy_irradiance(),
split_photon_irradiance(),
subt_spectra(),
sum_spectra(),
trim_tails(),
v_insert_hinges(),
v_replace_hinges()
with(sun.data, energy_irradiance(w.length, s.e.irrad)) with(sun.data, energy_irradiance(w.length, s.e.irrad, new_waveband(400,700)))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.