acoustotreams.spw.to_ssw

acoustotreams.spw.to_ssw(l, m, kx, ky, kz)[source]

Coefficient for the expansion of a scalar plane wave in scalar spherical waves

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

Parameters:
  • l (int, array_like) – Degree of the scalar spherical wave

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

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

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

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

Returns:

complex