3.2.6.19. A_FMM.Layer.get_modal_field

Layer.get_modal_field(i: int, x: float = 0.0, y: float = 0.0, components: list = None) dict

Returns modal field profile

Parameters:
  • i (int) – index of the mode.

  • x (float or array_like) – x coordinate for the field calculation

  • y (float or array_like) – y coordinate for the field calculation

  • components (list of str, optional) – field components to calculate. Default to None: all components (‘Ex’, ‘Ey’, ‘Hx’, ‘Hy’) are calculated.

Returns:

modal field

Return type:

DataFrame