Continuous Wave Profile#

class lasy.profiles.longitudinal.ContinuousWaveProfile(wavelength)[source]#

Class representing a continous wave laser longitudinal profile.

Specifically, the longitudinal profile will be represented by a constant value.

Note that using this profile will force the number of points in the longitudinal dimension to 1. Additionally, it will force the length of the longitudinal axis 1 s.

Parameters:
wavelengthfloat (in meter)

The main laser wavelength \(\lambda_0\) of the laser.

evaluate(t)[source]#

Return the longitudinal envelope.

Parameters:
tndarrays of floats

Define longitudinal points on which to evaluate the envelope

Returns:
envelopendarray of complex numbers

Contains the value of the longitudinal envelope at the specified points. This array has the same shape as the array t.