Learn R Programming

photobiology (version 0.9.8)

as_energy: Convert spectral photon irradiance into spectral energy irradiance

Description

For example an spectrum [mol s-1 m-2 nm-1] is converted into a spectrum [W m-2 nm-1]

Usage

as_energy(w.length, s.qmol.irrad)

Arguments

w.length
numeric Vector of wavelengths (nm)
s.qmol.irrad
numeric Corresponding vector of spectral photon irradiances

Value

A numeric vector of spectral (energy) irradiances

See Also

Other quantity conversion functions: A2T, T2A, as_quantum_mol, as_quantum, e2qmol_multipliers, e2quantum_multipliers, e2q, q2e

Examples

Run this code
with(sun.spct, as_energy(w.length, s.q.irrad))

Run the code above in your browser using DataLab