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