yeh_tm.Layer.calculate_g

Layer.calculate_g(w, a, b)

Calculate propagation constants g along z-axis for current layer.

Parameters:
  • w (float) – Frequency value.
  • a (complex) – In-plane propagation constant along x-axis.
  • b (complex) – In-plane propagation constant along y-axis.
Returns:

Propagation constants along z-axis. The entries are sorted such that sign( Re(g) ) has the order +,-,+,-. However, the polarization (p or s) may not yet be correctly assigned. This is done using calculate_p_q().