Electric field from the transmission of a gaussian beam at a planar interface
gaussian_near_field_layer(xyz, wavelength = 500, alpha = 15 * pi/180, psi = 0, w0 = 10000, epsilon = c(1.5^2, epsAg(wavelength)$epsilon, 1^2), thickness = c(0, 50, 0), maxEval = 3000, reqAbsError = 0, tol = 1e-04, progress = FALSE, field = FALSE)
data.frame electric field at the x, y, z position
Integration is performed over a spectrum of incident plane waves
Other gaussian_beam: gaussian_near_field_ml