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

  • loc

  • flip_vert

  • flip_horiz

  • rotation

  • extra_props