acoustotreams.scw.to_ssw

acoustotreams.scw.to_ssw(l, m, kz, mu, k)[source]

Coefficients for the expansion of scalar cylindrical waves in scalar spherical waves.

Return the coefficient for the basis change from cylindrical waves to spherical waves. For multiple positions, only the diagonal values (corresponding to identical positions) are returned.

Parameters:
  • l (int or array_like) – Degree of spherical waves.

  • m (int or array_like) – Order of spherical waves.

  • kz (float or array_like) – Z-component of the wave vector of cylindrical waves.

  • mu (int or array_like) – Order of cylindrical waves.

  • k (float or complex or array_like) – Angular wavenumber in the medium. Has units of kz.

Returns:

complex or array_like