gaussian_beam_paraxial_approximation.m File Reference

Functions

function gaussian_beam_paraxial_approximation (in simulation)
 Evaluate the electrical field of a Gaussian beam in the paraxial approximation. More...
 

Function Documentation

◆ gaussian_beam_paraxial_approximation()

function gaussian_beam_paraxial_approximation ( in  simulation)

Evaluate the electrical field of a Gaussian beam in the paraxial approximation.

The expressions are taken from Wikipedia.

Parameters
simulation(celes_simulation object): the Gaussian beam parameters are taken from simulation.input.initialField
Return values
E(Nx3 float array): electric field in the format [Ex;Ey;Ez] Each column correspond to one field point specified in simulation.output.fieldPoints