acoustotreams.ssw.translate¶
- acoustotreams.ssw.translate(lambda_, mu, l, m, kr, theta, phi, singular=True)[source]¶
Translation coefficients for spherical waves.
Returns the correct translation coefficients from
acoustotreams.ssw.tl_ssw()andacoustotreams.ssw.tl_ssw_r()or combinations thereof for the specified modes and basis.- Parameters:
lambda (int or array_like) – Degree of output modes.
mu (int or array_like) – Order of output modes.
l (int or array_like) – Degree of input modes.
m (int or array_like) – Order of input modes.
kr (float or complex or array_like) – Translation distance in units of the wavenumber.
theta (float or array_like) – Polar angle (rad).
phi (float or array_like) – Azimuthal angle (rad).
singular (bool, optional) – If True, singular translation coefficients are used, else regular coefficients. Defaults to
True.
- Returns:
complex or array_like