treams.pw.to_cw

treams.pw.to_cw(kzcw, m, polcw, kx, ky, kzpw, polpw) = <ufunc 'to_cw'>

Coefficient for the expansion of a plane wave in cylindricrical waves

Returns the coefficient for the basis change from a plane wave to a cylindrical wave. For multiple positions only diagonal values (with respect to the position) are returned.

The polarization values 0 and 1 refer to negative and positive helicity waves or to TE and TM parity.

Parameters:
  • kzcw (float, array_like) – Z component of cylindrical wave

  • m (int, array_like) – Order of the cylindrical wave

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

  • kx (float, array_like) – X component of plane wave’s wave vector

  • ky (float, array_like) – Y component of plane wave’s wave vector

  • kzpw (float, array_like) – Z component of plane wave’s wave vector

  • polpw (int, array_like) – Polarization of the plane wave

Returns:

complex