gplugins.lumerical.interconnect.add_interconnect_element

gplugins.lumerical.interconnect.add_interconnect_element#

gplugins.lumerical.interconnect.add_interconnect_element(session: object, label: str, model: str, loc: tuple[float, float] = (200.0, 200.0), flip_vert: bool = False, flip_horiz: bool = False, rotation: float = 0.0, simulation_props: OrderedDict | None = None)[source]#

Add an element to the Interconnect session.

TODO: Need to connect this to generated s-parameters and add them to the model as well

Parameters:
  • session – Interconnect session.

  • label – label for Interconnect component.

  • model – model name for Interconnect component.

  • loc – x,y location for Interconnect component.

  • flip_vert – whether to flip the component vertically.

  • flip_horiz – whether to flip the component horizontally.

  • rotation – rotation angle for the component.

  • simulation_props – properties for the simulation.