- qspec.simulate. Laser ( freq=0.0 , intensity=1.0 , polarization=None , k=None )[source]
-
A laser that has a frequency $\nu$, an intensity $I = \frac{1}{2}\varepsilon_0c\vec{E}^2$, a polarization $\vec{\varepsilon} = \vec{E} / |E|$ and a direction $\vec{k}$.
- Parameters:
-
- freqscalar
The frequency $\nu$ of the laser (MHz).
- intensityscalar
The intensity $I$ of the laser $(\mu\mathrm{W} / \mathrm{mm}^2 = \mathrm{W} / \mathrm{m}^2)$.
- polarizationPolarization | array_like | None
The polarization of the laser $\vec{\varepsilon}$ as a complex vector in Cartesian coordinates or as a
Polarizationobject.- karray_like | None
The direction of the laser $\vec{k}$. The user input is normalized to a vector with length 1.
- Attributes:
-
- freqfloat
The frequency of the laser $\nu$.
- instanceCppHandler
The wrapped C++ instance.
- intensityfloat
The intensity of the laser $I = \frac{1}{2}\varepsilon_0c\vec{E}^2$.
- kndarray
The normalized direction of the laser $\vec{k}$. The default direction is $(1, 0, 0)$.
- polarizationPolarization
The polarization of the laser $\varepsilon$ as a
Polarizationobject.