TM_field

ofiber.TM_field(V, n1, n2, d, x, mode)[source]

Calculate the TM field in a planar waveguide.

Parameters:
  • V – the V-parameter for the waveguide

  • n1 – index of waveguide

  • n2 – index of material next to waveguide

  • d – thickness of the waveguide

  • x – desired field positions

  • mode – specific mode

Returns:

the field at each position x