Learn R Programming

photobiology (version 0.9.6)

irradiance: Photon (quantum) irradiance from spectral (energy) irradiance.

Description

This function returns the energy irradiance for a given waveband of a radiation spectrum.

Usage

irradiance(w.length, s.irrad, w.band = NULL, unit.out = NULL,
  unit.in = "energy", check.spectrum = TRUE, use.cached.mult = FALSE,
  use.hinges = getOption("photobiology.use.hinges", default = NULL))

Arguments

w.length
numeric Vector of wavelength (nm)
s.irrad
numeric Corresponding vector of spectral (energy) irradiances (W m-2 nm-1)
w.band
waveband or list of waveband objects The waveband(s) determine the region(s) of the spectrum that are summarized.
unit.out
character Allowed values "energy", and "photon", or its alias "quantum"
unit.in
character Allowed values "energy", and "photon", or its alias "quantum"
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 use hinges to reduce interpolation errors

Value

  • a single numeric value with no change in scale factor: [W m-2 nm-1] -> [mol s-1 m-2]

See Also

Other irradiance functions: e_fluence, e_irrad, energy_irradiance, fluence, irrad, photon_irradiance, q_fluence, q_irrad

Examples

Run this code
with(sun.data, irradiance(w.length, s.e.irrad, new_waveband(400,700), "photon"))

Run the code above in your browser using DataLab