Gaussian Transverse Profile#
Implements a standard transverse Gaussian profile. This transverse profile can also be implemented via the lowest order mode of either the Hermite or Laguerre Gaussian profiles.
- class lasy.profiles.transverse.GaussianTransverseProfile(w0, wavelength=None, z_foc=0)[source]#
Class for the analytic profile of a Gaussian laser pulse.
More precisely, at focus (
z_foc=0
), the transverse envelope (to be used in theCombinedLongitudinalTransverseLaser
class) corresponds to:\[\mathcal{T}(x, y) = \exp\left( -\frac{x^2 + y^2}{w_0^2} \right)\]- Parameters:
- w0float (in meter)
The waist of the laser pulse, i.e. \(w_0\) in the above formula.
- wavelengthfloat (in meter), optional
The main laser wavelength \(\lambda_0\) of the laser. (Only needed if
z_foc
is different than 0.)- z_focfloat (in meter), optional
Position of the focal plane. (The laser pulse is initialized at
z=0
.)
Warning
In order to initialize the pulse out of focus, you can either:
Use a non-zero
z_foc
Use
z_foc=0
(i.e. initialize the pulse at focus) and then calllaser.propagate(-z_foc)
Both methods are in principle equivalent, but note that the first method uses the paraxial approximation, while the second method does not make this approximation.