Multilayer Fresnel coefficients

multilayer(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), polarisation = c("p", "s"), d = 1, dout = d, ...)

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
polarisation
[character] switch between p- and s- polarisation
d
vector of distances where LFIEF are evaluated from each interface
dout
vector of distances where LFIEF are evaluated outside the stack
...
unused

Value

fresnel coefficients and field profiles

Details

solves the EM problem of a multilayered interface

References

Principles of surface-enhanced Raman spectroscopy and related plasmonic effects. Eric C. Le Ru and Pablo G. Etchegoin, published by Elsevier, Amsterdam (2009).