acoustotreams.ssw.periodic_to_spw

acoustotreams.ssw.periodic_to_spw(kx, ky, kz, l, m, area)[source]

Convert periodic spherical wave to plane wave.

Returns the coefficient for the basis change in a periodic arrangement of spherical modes to plane waves. For multiple positions only diagonal values (with respect to the position) are returned. A correct phase factor is still necessary for the full result.

Parameters:
  • kx (float, array_like) – X component of destination mode wave vector

  • ky (float, array_like) – Y component of destination mode wave vector

  • kz (float or complex, array_like) – Z component of destination mode wave vector

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

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

  • area (float, array_like) – Unit cell area

Returns:

complex