This function returns the UVA:UV photon ratio of a light source spectrum.

UVA_UV(spct, std = "ISO", use.cached.mult = FALSE, use.hinges = TRUE)

Arguments

spct

an object of class "source.spct"

std

select which definition of UVB and UV should be used, defaults to "ISO"

use.cached.mult

logical indicating whether multiplier values should be cached between calls

use.hinges

logical indicating whether to use hinges to reduce interpolation errors

Value

a single numeric nondimensional value giving the UVA:UV photon ratio, with name attribute set to the name of the wavebands, with "(q:q)" appended.

Examples

UVA_UV(sun.spct)
#> UVA.ISO: UV.ISO.tr.lo(q:q) #> 0.9806305 #> attr(,"radiation.unit") #> [1] "q:q ratio"