treams.sw.rotate

treams.sw.rotate(lambda_, mu, pol, l, m, qol, phi, theta=0, psi=0)

Rotation coefficient for spherical modes.

Returns the correct rotation coefficient from treams.special.wignerd(). The angles are given as Euler angles in z-y-z-convention. In the intrinsic (object fixed coordinate system) convention the rotations are applied in the order phi first, theta second, psi third. In the extrinsic (global or reference frame fixed coordinate system) the rotations are applied psi first, theta second, phi third.

Parameters:
  • lambda (int, array_like) – Degree of the destination mode

  • mu (int, array_like) – Order of the destination mode

  • pol (int, array_like) – Polarization of the destination mode

  • l (int, array_like) – Degree of the source mode

  • m (int, array_like) – Order of the source mode

  • qol (int, array_like) – Polarization of the source mode

  • phi (float or complex, array_like) – First Euler angle

  • theta (float, array_like) – Second Euler angle

  • psi (float, array_like) – Third Euler angle

Returns:

complex