Convert spectral energy irradiance into spectral photon irradiance
Source:R/as.quantum.mol.r
as_quantum_mol.Rd
Convert spectral energy irradiance [\(W\,m^{-2}\,nm^{-1}\)] into a spectral photon irradiance expressed in number of molds of photons [\(mol\,s^{-1}\,m^{-2}\,nm^{-1}\)].
See also
Other low-level functions operating on numeric vectors.:
as_energy()
,
calc_multipliers()
,
div_spectra()
,
energy_irradiance()
,
energy_ratio()
,
insert_hinges()
,
integrate_xy()
,
interpolate_spectrum()
,
irradiance()
,
l_insert_hinges()
,
oper_spectra()
,
photon_irradiance()
,
photon_ratio()
,
photons_energy_ratio()
,
prod_spectra()
,
s_e_irrad2rgb()
,
split_energy_irradiance()
,
split_photon_irradiance()
,
subt_spectra()
,
sum_spectra()
,
trim_tails()
,
v_insert_hinges()
,
v_replace_hinges()
Examples
with(sun.data, as_quantum_mol(w.length, s.e.irrad))
#> [1] 6.391823e-12 1.509586e-11 5.366463e-11 1.677650e-10 3.807237e-10
#> [6] 9.141478e-10 1.960922e-09 3.171253e-09 6.601703e-09 9.902649e-09
#> [11] 2.273042e-08 2.961986e-08 4.587057e-08 5.310749e-08 7.850777e-08
#> [16] 1.029319e-07 1.075553e-07 1.262332e-07 2.041526e-07 2.096075e-07
#> [21] 2.467060e-07 2.766907e-07 2.969983e-07 2.695936e-07 3.942248e-07
#> [26] 3.758581e-07 4.185790e-07 4.659008e-07 4.889148e-07 4.810665e-07
#> [31] 4.537555e-07 5.621364e-07 5.890145e-07 7.560691e-07 7.793488e-07
#> [36] 7.262030e-07 8.247224e-07 9.090058e-07 8.011713e-07 8.327903e-07
#> [41] 8.215983e-07 8.200062e-07 8.763100e-07 7.618520e-07 7.351982e-07
#> [46] 8.207025e-07 8.808652e-07 9.527984e-07 8.703507e-07 9.211222e-07
#> [51] 9.691475e-07 7.694796e-07 8.825767e-07 8.825393e-07 9.305187e-07
#> [56] 8.890176e-07 8.698810e-07 1.010436e-06 1.002172e-06 9.516447e-07
#> [61] 9.752696e-07 1.112256e-06 1.109170e-06 1.024213e-06 8.422339e-07
#> [66] 7.616006e-07 8.753767e-07 1.115592e-06 9.269571e-07 9.820154e-07
#> [71] 1.094953e-06 1.120132e-06 1.117271e-06 1.374306e-06 1.317556e-06
#> [76] 1.224534e-06 1.285659e-06 1.358808e-06 1.269324e-06 1.178050e-06
#> [81] 1.115271e-06 1.019223e-06 1.061871e-06 1.240349e-06 1.320374e-06
#> [86] 1.570347e-06 1.308938e-06 1.263235e-06 1.389293e-06 1.031408e-06
#> [91] 8.370054e-07 9.634895e-07 1.260127e-06 1.144453e-06 1.212637e-06
#> [96] 1.185652e-06 1.288885e-06 1.478605e-06 1.576107e-06 1.432756e-06
#> [101] 7.956886e-07 9.803158e-07 1.551875e-06 1.342163e-06 8.435462e-07
#> [106] 1.675369e-06 1.954929e-06 2.033344e-06 2.098997e-06 2.183419e-06
#> [111] 2.091121e-06 2.151426e-06 2.120627e-06 2.035128e-06 2.024758e-06
#> [116] 2.133751e-06 2.261794e-06 1.921193e-06 2.235651e-06 2.322151e-06
#> [121] 2.229002e-06 2.295365e-06 2.246125e-06 2.351414e-06 2.247152e-06
#> [126] 2.213490e-06 2.257770e-06 2.102488e-06 2.358368e-06 2.352366e-06
#> [131] 2.163395e-06 2.136160e-06 2.153631e-06 2.275130e-06 2.125472e-06
#> [136] 2.120812e-06 1.965188e-06 1.642828e-06 1.490475e-06 2.334496e-06
#> [141] 2.362817e-06 2.285008e-06 2.409741e-06 2.673955e-06 2.654550e-06
#> [146] 2.362775e-06 2.212311e-06 2.367408e-06 2.482566e-06 2.656059e-06
#> [151] 2.612834e-06 2.623081e-06 2.591621e-06 2.480050e-06 2.754571e-06
#> [156] 2.882176e-06 2.794106e-06 2.915900e-06 3.093200e-06 2.909250e-06
#> [161] 2.640401e-06 2.779424e-06 2.911130e-06 2.950860e-06 3.050422e-06
#> [166] 2.916762e-06 2.952236e-06 2.959155e-06 2.971663e-06 2.939882e-06
#> [171] 2.944841e-06 2.951591e-06 2.897282e-06 2.953202e-06 2.900492e-06
#> [176] 2.998803e-06 3.004631e-06 2.938991e-06 2.923042e-06 3.035500e-06
#> [181] 2.971387e-06 2.953859e-06 3.067212e-06 3.057378e-06 3.046625e-06
#> [186] 3.144579e-06 3.017901e-06 3.095582e-06 3.071913e-06 3.155979e-06
#> [191] 3.121198e-06 3.031463e-06 2.972582e-06 2.652508e-06 2.650896e-06
#> [196] 2.922448e-06 2.872394e-06 3.165496e-06 3.019245e-06 2.836437e-06
#> [201] 3.042272e-06 3.028179e-06 3.268870e-06 3.151242e-06 3.129981e-06
#> [206] 2.965118e-06 3.024275e-06 3.026494e-06 2.969322e-06 2.902349e-06
#> [211] 3.070004e-06 3.057323e-06 3.112003e-06 3.257703e-06 3.120838e-06
#> [216] 2.978232e-06 3.176951e-06 3.166465e-06 3.154567e-06 3.214644e-06
#> [221] 3.055906e-06 3.009423e-06 2.984744e-06 3.149977e-06 2.669415e-06
#> [226] 2.792784e-06 2.765772e-06 3.035516e-06 3.114330e-06 3.186562e-06
#> [231] 3.041582e-06 3.225171e-06 3.237112e-06 3.045208e-06 2.860001e-06
#> [236] 3.183952e-06 3.234781e-06 3.236725e-06 3.374961e-06 3.222565e-06
#> [241] 2.878483e-06 3.002984e-06 3.168480e-06 3.328756e-06 3.213101e-06
#> [246] 3.310975e-06 3.253895e-06 3.049825e-06 3.022888e-06 3.215631e-06
#> [251] 3.256300e-06 3.295998e-06 3.313221e-06 3.191766e-06 3.255213e-06
#> [256] 3.177586e-06 3.222067e-06 3.239751e-06 3.238667e-06 3.312585e-06
#> [261] 3.199252e-06 3.275170e-06 3.302165e-06 3.252418e-06 3.201110e-06
#> [266] 3.226403e-06 3.161416e-06 3.197269e-06 3.269972e-06 3.136562e-06
#> [271] 3.290460e-06 3.251994e-06 3.263756e-06 3.076162e-06 3.172830e-06
#> [276] 3.205408e-06 3.095522e-06 3.105427e-06 3.075691e-06 3.143933e-06
#> [281] 3.215650e-06 3.192122e-06 3.143052e-06 3.173939e-06 3.204767e-06
#> [286] 3.176141e-06 3.133621e-06 3.219939e-06 3.254664e-06 3.334438e-06
#> [291] 3.333465e-06 3.316644e-06 3.290130e-06 3.194155e-06 3.215775e-06
#> [296] 3.098919e-06 2.786178e-06 2.813344e-06 2.994660e-06 2.962456e-06
#> [301] 3.027097e-06 3.059466e-06 2.998351e-06 3.074029e-06 3.122211e-06
#> [306] 3.118443e-06 3.128236e-06 3.196330e-06 3.163008e-06 3.173330e-06
#> [311] 3.206042e-06 3.321333e-06 3.345131e-06 3.321639e-06 3.297737e-06
#> [316] 3.326418e-06 3.306198e-06 3.258392e-06 3.264410e-06 3.309200e-06
#> [321] 3.254785e-06 3.226491e-06 3.241119e-06 3.143038e-06 3.098467e-06
#> [326] 3.287678e-06 3.326409e-06 3.303283e-06 3.355613e-06 3.301548e-06
#> [331] 3.265996e-06 3.190239e-06 3.183997e-06 3.144148e-06 3.181046e-06
#> [336] 3.095620e-06 3.172237e-06 3.159683e-06 3.156168e-06 3.086257e-06
#> [341] 3.196612e-06 3.176788e-06 3.232266e-06 3.192623e-06 3.255583e-06
#> [346] 3.324495e-06 3.278056e-06 3.208759e-06 3.236914e-06 3.294573e-06
#> [351] 3.291063e-06 3.233300e-06 3.195034e-06 3.119854e-06 3.034635e-06
#> [356] 3.004949e-06 3.021777e-06 3.077355e-06 3.155851e-06 3.099123e-06
#> [361] 3.176479e-06 3.163837e-06 3.075903e-06 2.732521e-06 2.833949e-06
#> [366] 3.125142e-06 3.173206e-06 3.188927e-06 3.293666e-06 3.317777e-06
#> [371] 3.307626e-06 3.282389e-06 3.284717e-06 3.281198e-06 3.265432e-06
#> [376] 3.337632e-06 3.337144e-06 3.318734e-06 3.304200e-06 3.268065e-06
#> [381] 3.287783e-06 3.312844e-06 3.305221e-06 3.306013e-06 3.300546e-06
#> [386] 3.292486e-06 3.291250e-06 3.279387e-06 3.259741e-06 3.261380e-06
#> [391] 3.251003e-06 3.251093e-06 3.235441e-06 3.055210e-06 2.725640e-06
#> [396] 2.735198e-06 2.729485e-06 2.825798e-06 2.900846e-06 2.909226e-06
#> [401] 2.821733e-06 2.741454e-06 2.775993e-06 2.854010e-06 3.009252e-06
#> [406] 2.947014e-06 2.824488e-06 2.784173e-06 2.744924e-06 2.780588e-06
#> [411] 2.914642e-06 2.950373e-06 2.929157e-06 2.910422e-06 2.883528e-06
#> [416] 2.962730e-06 2.985032e-06 2.976844e-06 3.004038e-06 3.017992e-06
#> [421] 2.968391e-06 2.970340e-06 2.867885e-06 2.735300e-06 2.463011e-06
#> [426] 2.185359e-06 2.023400e-06 2.049168e-06 2.456963e-06 2.622580e-06
#> [431] 2.538356e-06 2.358491e-06 2.322794e-06 2.328965e-06 2.343384e-06
#> [436] 2.307647e-06 2.337554e-06 2.375561e-06 2.372690e-06 2.561330e-06
#> [441] 2.736736e-06 2.869443e-06 2.844156e-06 2.770245e-06 2.820276e-06
#> [446] 2.866975e-06 2.879951e-06 2.948246e-06 2.964340e-06 2.964807e-06
#> [451] 3.067899e-06 3.113540e-06 3.091305e-06 3.110934e-06 3.138285e-06
#> [456] 3.140882e-06 3.096266e-06 3.086109e-06 3.139023e-06 3.134275e-06
#> [461] 3.120489e-06 3.156259e-06 3.154360e-06 3.124459e-06 3.111445e-06
#> [466] 3.026658e-06 2.472113e-06 1.134988e-06 8.735635e-07 1.399939e-06
#> [471] 1.387394e-06 1.530658e-06 1.890435e-06 2.284067e-06 2.553094e-06
#> [476] 2.817249e-06 2.956167e-06 3.016626e-06 3.028328e-06 3.011164e-06
#> [481] 3.036691e-06 3.071225e-06 2.991939e-06 3.039383e-06 3.063411e-06
#> [486] 3.048357e-06 3.069185e-06 3.038695e-06 3.034483e-06 3.059337e-06
#> [491] 3.033516e-06 3.003770e-06 3.021092e-06 2.970677e-06 2.927968e-06
#> [496] 2.888574e-06 2.805819e-06 2.778470e-06 2.775834e-06 2.782092e-06
#> [501] 2.785194e-06 2.796505e-06 2.755935e-06 2.715258e-06 2.759035e-06
#> [506] 2.825921e-06 2.795778e-06 2.721171e-06