treams.misc.wave_vec_z

treams.misc.wave_vec_z(kx, ky, k)

Z component of the wave vector with positive imaginary part.

The result is \(k_z = \sqrt{k^2 - k_x^2 - k_y^2}\) with \(\arg k_z \in \[ 0, \pi )\).

Parameters:
  • kx (float, array_like) – X component of the wave vector

  • ky (float, array_like) – Y component of the wave vector

  • k (float or complex, array_like) – Wave number

Returns:

complex