Combined Longitudinal and Transverse Profile#
- class lasy.profiles.CombinedLongitudinalTransverseProfile(wavelength, pol, long_profile, trans_profile, laser_energy=None, peak_fluence=None, peak_power=None)[source]#
Class that combines a longitudinal and transverse laser profile.
The combined profile is defined as the product of the longitudinal and transverse profile.
More precisely, the electric field corresponds to:
\[E_u(\boldsymbol{x}_\perp,t) = Re\left[ E_0\, \mathcal{T}(x, y) \times \mathcal{L}(t) e^{-i\omega_0 t} \times p_u \right]\]where \(u\) is either \(x\) or \(y\), \(p_u\) is the polarization vector, \(Re\) represent the real part. The other parameters in this formula are defined below.
- Parameters:
- wavelengthfloat (in meter)
The main laser wavelength \(\lambda_0\) of the laser, which defines \(\omega_0\) in the above formula, according to \(\omega_0 = 2\pi c/\lambda_0\).
- pollist of 2 complex numbers (dimensionless)
Polarization vector. It corresponds to \(p_u\) in the above formula ; \(p_x\) is the first element of the list and \(p_y\) is the second element of the list. Using complex numbers enables elliptical polarizations.
- long_profile
LongitudinalProfile Defines the longitudinal envelope of the laser, i.e. the function \(\mathcal{L}(t)\) in the above formula.
- transverse_profile
TransverseProfile Defines the transverse envelope of the laser, i.e. the function \(\mathcal{T}(x, y)\) in the above formula.
- laser_energyfloat (in Joule)
The total energy of the laser pulse. The amplitude of the laser field (\(E_0\) in the above formula) is automatically calculated so that the pulse has the prescribed energy.
- peak_fluencefloat (in J/m^2)
The peak fluence of the laser pulse. The amplitude of the laser field (\(E_0\) in the above formula) is automatically calculated so that the pulse has the prescribed peak fluence. Required for a CW (monochromatic) profile.
- peak_powerfloat (in W)
The peak power of the laser pulse. The amplitude of the laser field (\(E_0\) in the above formula) is automatically calculated so that the pulse has the prescribed peak power. Required for a plane wave profile.
- evaluate(x, y, t)[source]#
Return the envelope field of the laser.
- Parameters:
- x, y, tndarrays of floats
Define points on which to evaluate the envelope These arrays need to all have the same shape.
- Returns:
- envelopendarray of complex numbers
Contains the value of the envelope at the specified points This array has the same shape as the arrays x, y, t