Multilayer Fresnel coefficients

multilayercpp(wavelength = 2 * pi/k0, k0 = 2 * pi/wavelength,
  angle = asin(q), q = sin(angle), epsilon = list(incident = 1.5^2, 1.33),
  thickness = c(0, 0), ...)

Arguments

wavelength
[vector] wavelength in nm
k0
[vector] wavevector in nm^-1
angle
[vector] incident angles in radians
q
[vector] normalised incident in-plane wavevector
epsilon
list of N+2 dielectric functions, each of length 1 or length(wavelength)
thickness
vector of N+2 layer thicknesses, first and last are dummy
...
unused

Value

fresnel coefficients and field profiles

Details

solves the EM problem of a multilayered interface

Examples

library(planar) demo(package="planar")
#> no demos found