- qspec.simulate.Laser. get_kpol ( k , electric , q_axis=2 )[source]
-
The irreducible tensor polarization of the laser for a multipole order.
- Parameters:
-
- kint
The multipole order $k \geq 1$.
- electricbool
Whether the electric (
True) or the magnetic (False) field component is returned.- q_axisarray_like
The quantization axis. Must be an integer in
{0, 1, 2}or a 3d-vector. The default isq_axis = 2(z-axis).
- Returns:
-
- polndarray
The rank-
kelectric or magnetic irreducible tensor polarization in the helicity basis for the given quantization axis.