calculateIntensity: Intensity change

Description Usage Arguments Details Value Author(s)

View source: R/generateRainbows.R

Description

Calculate change in intensity of ray propagating through the water drop

Usage

1
calculateIntensity(lambda, thetaI, thetaE, thetaR, nR, method = "identity")

Arguments

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=

Details

The identity method set attentuation to 1 (no attenuation) The fresnel method calculates attenuation based on reflection and transmission coefficients.

Value

attenuation value in linear domain (0..1)

Author(s)

Fredrik Wartenberg


FredrikWartenberg/rainbowLab documentation built on April 5, 2021, 11:42 p.m.