acoustotreams.scw.translate_periodic

acoustotreams.scw.translate_periodic(k, kpar, a, rs, out, in_=None, rsin=None, eta=0)[source]

Translation coefficients in a lattice.

Returns the translation coefficents for the given modes in a lattice. The calculation uses the fast converging sums of treams.lattice.

Parameters:
  • k (float or complex) – Wave number in the medium

  • kpar (float, (D,)-array) – Parallel component of the wave, defines the dimension with 1 <= D <= 2

  • a (float, (D,D)-array) – Lattice vectors in each row of the array

  • rs (float, (M, 3)-array) – Shift vectors with respect to one lattice point

  • out (2- or 3-tuple of integer arrays) – Output modes

  • in (2- or 3-tuple of integer arrays) – Input modes, if none are given equal to the output modes

  • rsin (float) – Shift vectors to use with the input modes, if non are given equal to rs

  • eta (float or complex, optional) – Cut between real and reciprocal space summation, if equal to zero, an estimation for the optimal value is done.

Returns:

complex array