Uses E_photon = hc / lambda, with hc = 1.98644585714893e-16 J·nm.
Vectorised over both n and lambda.
Arguments
- n
Photon count(s) in \(photons\,m^{-2}\,s^{-1}\,nm^{-1}\).
- lambda
Wavelength(s) in nm.
Value
Numeric vector of spectral irradiance in \(W\,m^{-2}\,nm^{-1}\).
Examples
photon2W(1e15, 555)
#> [1] 0.0003579182