Learn R Programming

photobiology (version 0.9.8)

e2quantum_multipliers: Calculate energy to quantum multipliers

Description

Gives multipliers as a function of wavelength, for converting from energy to photon (quantum) units (number of photons as default, or moles of photons).

Usage

e2quantum_multipliers(w.length, molar = FALSE)

Arguments

w.length
numeric Vector of wavelengths (nm)
molar
logical Flag indicating whether output should be in moles or numbers

Value

A numeric array of multipliers

See Also

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

Examples

Run this code
with(sun.data, e2quantum_multipliers(w.length))
with(sun.data, e2quantum_multipliers(w.length, molar = TRUE))

Run the code above in your browser using DataLab