generateDataMatrix: Generate Rainbow Spectral Distributions

Description Usage Arguments Details Value Author(s)

Description

Generates the table with spectral and angular distribution of the different rainbows.

Usage

1
2
3
4
5
6
generateDataMatrix(
  universe,
  resolution = 10000,
  nColors = 1,
  rainbows = c(1, 2)
)

Arguments

universe

The universe (typically one drop)

rainbows

Rainbows to generate, e.g. c(1,2,4) for first, second and fourth rainbow

angularSteps

Angular resolution for simulation steps

lambdaSteps

Stepsize for lambda between visibleMin and visibleMax

intensity

How to calculate the intensity in the spectrum: count: just count the number of rays fresnel: apply fresenel formulas to transmission and reflectio

Details

Central simulation function

Value

a data.table with the spectral and angular intesities for each rainbow

Author(s)

Fredrik Wartenberg


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