- qspec.simulate. Laser.get_kpol ( k , electric , q_axis = 2 )[source]
-
- 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:
-
- outNone
The rank
k
electric or magnetic irreducible tensor polarization in the helicity basis for the given quantization axis.