acdecom.WaveGuide.get_c

WaveGuide.get_c(m, n, **kwargs)

Placeholder for the normalization of the mode shapee of the (m,n)-mode. When the object is initialized, this function may be overwritten either by one of the predefined normalization functions WaveGuide.get_c_circular() (circular waveguide) and WaveGuide.get_c_rect() (rectangular waveguide), or a custom function. The predefined functions normalize the mode shapes to be orthonormal, i.e.,

\[\int_{A} \psi_{mn} \psi_{m'n'} dA = \delta_{mm'} \delta_{nn'}\]

and \(\delta\) is the Kronecker delta.

Parameters
  • m (int) – Mode-order in the first direction. If the waveguide is circular, m indicates the circumferential mode-order. The plane wave has the order 0.

  • n (integer) – Mode-order in the second direction. If the waveguide is circular, n indicates the radial mode-order. The plane wave has the order 0.

  • kwargs (additional arguments.) –

Returns

The normalization factor of the (m,n)-mode.

Return type

float or complex