Description Usage Arguments Details Value Author(s)
View source: R/generateRainbows.R
Calculate change in intensity of ray propagating through the water drop
1 | calculateIntensity(lambda, thetaI, thetaE, thetaR, nR, method = "identity")
|
lambda |
Wavelength nm |
thetaI |
Incident angle of ray into drop |
thetaE |
excident angle of ray from drop |
thetaR |
reflection angle inside drop |
nR |
number of reflections |
method |
intensity calculation method (see details= |
The identity method set attentuation to 1 (no attenuation) The fresnel method calculates attenuation based on reflection and transmission coefficients.
attenuation value in linear domain (0..1)
Fredrik Wartenberg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.