Skip to contents

This function gives a set of numeric multipliers that can be used as a weight to calculate effective doses and irradiances. The returned values are on quantum based effectiveness relative units.

Usage

PG_q_fun(w.length)

Arguments

w.length

numeric array of wavelengths (nm)

Value

a numeric array of the same length as w.length with values for the BSWF normalized as in the original source (300 nm)

Note

We follow the original defition here for the equation, with no limtation to the wavelength range. However, be aware that in practice it is not used for long wavelengths (different limits between 366 nm and 400 nm have been used by different authors).

Examples

PG_q_fun(293:400)
#>   [1] 2.24876622 2.07242992 1.89069314 1.70564211 1.51981310 1.33611377
#>   [7] 1.15768767 0.98772404 0.82922684 0.68476909 0.55626886 0.44482599
#>  [13] 0.35065273 0.27311390 0.21086945 0.16208917 0.12469523 0.09658730
#>  [19] 0.07581635 0.06069189 0.04982496 0.04212165 0.03674566 0.03306754
#>  [25] 0.03061361 0.02902321 0.02801861 0.02738769 0.02697540 0.02667759
#>  [31] 0.02643239 0.02620835 0.02599214 0.02577920 0.02556829 0.02535915
#>  [37] 0.02515173 0.02494600 0.02474195 0.02453957 0.02433885 0.02413977
#>  [43] 0.02394232 0.02374648 0.02355225 0.02335960 0.02316853 0.02297902
#>  [49] 0.02279106 0.02260464 0.02241975 0.02223636 0.02205448 0.02187409
#>  [55] 0.02169517 0.02151771 0.02134171 0.02116714 0.02099400 0.02082228
#>  [61] 0.02065197 0.02048304 0.02031550 0.02014933 0.01998452 0.01982105
#>  [67] 0.01965893 0.01949813 0.01933864 0.01918046 0.01902357 0.01886797
#>  [73] 0.01871364 0.01856057 0.01840875 0.01825818 0.01810883 0.01796071
#>  [79] 0.01781380 0.01766809 0.01752358 0.01738024 0.01723808 0.01709708
#>  [85] 0.01695723 0.01681853 0.01668096 0.01654452 0.01640919 0.01627497
#>  [91] 0.01614185 0.01600982 0.01587887 0.01574899 0.01562017 0.01549240
#>  [97] 0.01536568 0.01524000 0.01511534 0.01499170 0.01486908 0.01474746
#> [103] 0.01462683 0.01450719 0.01438853 0.01427083 0.01415411 0.01403833