Skip to contents

This function gives a set of numeric multipliers that can be used as a weight to calculate effective doses and irradiances.

Usage

DNA_N_q_fun(w.length)

Arguments

w.length

numeric array of w.length (nm)

Value

a numeric array of the same length as w.length with values for the BSWF normalized as in the original source. The returned values are based on quantum effectiveness units.

Note

The digitized data as used in the TUV model covers the wavelength range from 256 nm to 364 nm. For longer wavelengths we set the value to zero, and for shorter wavelengths we extrapolate the value for 256 nm.

Examples

DNA_N_q_fun(293:400)
#>   [1] 5.773515e+00 5.000000e+00 3.818746e+00 2.916689e+00 2.204747e+00
#>   [6] 1.666711e+00 1.291003e+00 1.000000e+00 7.637542e-01 5.833311e-01
#>  [11] 3.944059e-01 2.666645e-01 1.972033e-01 1.458333e-01 9.546938e-02
#>  [16] 6.250032e-02 4.564369e-02 3.333290e-02 2.356977e-02 1.666635e-02
#>  [21] 1.086518e-02 7.083344e-03 4.859143e-03 3.333323e-03 2.472019e-03
#>  [26] 1.833302e-03 1.488339e-03 1.208344e-03 9.519626e-04 7.500000e-04
#>  [31] 6.373746e-04 5.416667e-04 4.630431e-04 3.958344e-04 3.422018e-04
#>  [36] 2.958293e-04 2.719514e-04 2.500000e-04 2.304834e-04 2.125030e-04
#>  [41] 1.951261e-04 1.791647e-04 1.684299e-04 1.583304e-04 1.452997e-04
#>  [46] 1.333314e-04 1.269292e-04 1.208294e-04 1.121877e-04 1.041667e-04
#>  [51] 9.990962e-05 9.583430e-05 8.936522e-05 8.333324e-05 7.905648e-05
#>  [56] 7.500000e-05 7.071060e-05 6.666686e-05 6.454957e-05 6.249972e-05
#>  [61] 6.038074e-05 5.833305e-05 5.621155e-05 5.416685e-05 5.204118e-05
#>  [66] 5.000028e-05 4.787131e-05 4.583333e-05 4.370028e-05 4.166685e-05
#>  [71] 4.166612e-05 4.166703e-05 0.000000e+00 0.000000e+00 0.000000e+00
#>  [76] 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#>  [81] 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#>  [86] 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#>  [91] 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#>  [96] 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#> [101] 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#> [106] 0.000000e+00 0.000000e+00 0.000000e+00