yeh_tm.Layer.update

Layer.update(w, a, b, phi=0)

Shortcut to recalculate all layer properties.

This function calls the following functions:

self.set_plane_of_incidence(phi)
self.calculate_epsilon(w)
self.calculate_g(w, a, b)
self.calculate_p_q(w, a, b)
self.calculate_D()
self.calculate_P()
self.calculate_T()

Changed in version 02-05-2016: Added input parameter phi to control the plane of incidence.

Parameters:
  • w (float) – Frequency value.
  • a (complex) – In-plane propagation constant along x-axis.
  • b (complex) – In-plane propagation constant along y-axis.
  • phi (float) – Angle phi which defines the orientation of the plane of incidence.
Returns:

Dynamic matrix D and its inverse, propagation matrix P, and layer transfer matrix T.