Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec.simulate.Laser  (  freq = 0.0 intensity = 1.0 polarization = None k = None instance = None  )[source]

Class representing 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)$.

polarizationqspec.simulate.Polarization | array_like | None

The polarization of the laser $\vec{\varepsilon}$ as a complex vector in cartesian coordinates or as a Polarization object.

karray_like | None

The direction of the laser $\vec{k}$. The user input is normalized to a vector with length 1.

instanceqspec.simulate.Laser | C.LaserHandler.value | None

An existing Laser instance. If this is specified, the other parameters are omitted.

API navigation