acdecom.WaveGuide.get_psi_rect

WaveGuide.get_psi_rect(m, n, x, y)

Return the normalized mode shapee of the (m,n)-mode for a rectangular duct. Modes are normalized to be orthonormal, see WaveGuide.get_c().

\[\Psi_{mn} = \frac{\cos(\pi m x/a)*\cos(\pi n y/b)}{C_{mn}}\]
Parameters
  • m (int) – Mode-order in x-direction. The plane wave has the order 0.

  • n (integer) – Mode-order in y-direction. The plane wave has the order 0.

  • x (float or array_like) – X - coordinate.

  • y (float or array_like) – Y - coordinate.

  • kwargs (additional arguments) –

Returns

The eigenvalue of the (m,n)-mode at the position (x,y).

Return type

float or complex