powered by
This function returns the photon irradiance for a given waveband of a radiation spectrum, optionally applies a BSWF.
photon_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))
numeric array of wavelength (nm)
numeric array of spectral irradiances, by default as energy (W m-2 nm-1)
waveband
character Values recognized "photon" or "energy"
logical Flag telling whether to sanity check input data, default is TRUE
logical Flag telling whether multiplier values should be cached between calls
logical Flag telling whether to use hinges to reduce interpolation errors
A single numeric value with no change in scale factor: [W m-2 nm-1] -> [W m-2]
Other irradiance functions: e_fluence, e_irrad, energy_irradiance, fluence, irradiance, irrad, q_fluence, q_irrad
e_fluence
e_irrad
energy_irradiance
fluence
irradiance
irrad
q_fluence
q_irrad
# NOT RUN { with(sun.data, photon_irradiance(w.length, s.e.irrad)) with(sun.data, photon_irradiance(w.length, s.e.irrad, new_waveband(400,700))) # }
Run the code above in your browser using DataLab