acoustotreams.ssw.periodic_to_spw¶
- acoustotreams.ssw.periodic_to_spw(kx, ky, kz, l, m, area)[source]¶
Convert periodic scalar spherical waves into plane waves.
Return the coefficient for the basis change from spherical waves on a lattice to plane waves. For multiple positions, only the diagonal values (corresponding to identical positions) are returned. A correct phase factor is still necessary for the correct result.
- Parameters:
kx (float or array_like) – X-component of the wave vector of plane waves.
ky (float or array_like) – Y-component of the wave vector of plane waves.
kz (float or complex or array_like) – Z-component of the wave vector of plane waves.
l (int or array_like) – Degree of spherical waves.
m (int or array_like) – Order of spherical waves.
area (float or array_like) – Unit cell area.
- Returns:
complex