Internal field in a ML stack

internal_field(wavelength = 500, angle = 0, psi = 0, thickness = c(0,
  20, 140, 20, 0), dmax = 200, res = 1000, epsilon = c(1^2, -12, 1.38^2,
  -12, 1.46^2), field = FALSE, ...)

Arguments

wavelength
wavelength
angle
angle
psi
polarisation angle (0 for TM)
thickness
vector of layer thickness
dmax
maximum distance to interface
res
resolution of sampling points
epsilon
permittivities
field
logical, return complex field vector, or modulus squared
...
further args ignored

Value

data.frame with position and electric field vector

Details

returns the electric field as a function of distance inside and outside of the structure

References

Principles of surface-enhanced Raman spectroscopy and related plasmonic effects

Eric C. Le Ru and Pablo G. Etchegoin, published by Elsevier, Amsterdam (2009).

See also

Other helping_functions: classify, invert_stack, lfief, modify_levels