acoustotreams.ssw.rotate

acoustotreams.ssw.rotate(lambda_, mu, l, m, phi, theta=0, psi=0)[source]

Rotation coefficient for scalar 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

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

  • m (int, array_like) – Order 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