acoustotreams.spw.to_ssw¶
- acoustotreams.spw.to_ssw(l, m, kx, ky, kz)[source]¶
Coefficients for the expansion of scalar plane waves in scalar spherical waves.
Return the coefficient for the basis change from scalar plane waves to scalar spherical waves. For multiple positions, only the diagonal values (corresponding to identical positions) are returned.
- Parameters:
l (int or array_like) – Degree of scalar spherical waves.
m (int or array_like) – Order of scalar spherical waves.
kx (float or array_like) – X-component of the wave vector of scalar plane waves.
ky (float or array_like) – Y-component of the wave vector of scalar plane waves. Has units of kx.
kz (float or array_like) – Z-component of the wave vector of scalar plane waves. has units of kx.
- Returns:
complex or array_like