gplugins.lumerical.interconnect.run_wavelength_sweep

gplugins.lumerical.interconnect.run_wavelength_sweep#

gplugins.lumerical.interconnect.run_wavelength_sweep(component: Component, session: object | None = None, setup_simulation: bool = True, is_top_level: bool = False, ports_in: dict | None = None, ports_out: dict | None = None, mode: int = 1, wavelength_range: tuple[float, float] = (1.5, 1.6), n_points: int = 1000, results: tuple[str, ...] = ('transmission',), extra_ona_props: dict | None = None, **kwargs) dict[source]#

Run a wavelength sweep on a component in Interconnect.

Parameters:
  • component – component to simulate.

  • session – Interconnect session.

  • setup_simulation – whether to send the component to interconnect before running the sweep.

  • is_top_level – whether the component is a top-level component.

  • ports_in – specify the port in the Interconnect model to attach the ONA output to.

  • ports_out – specify the ports in the Interconnect models to attach the ONA input to.

  • mode – mode to simulate.

  • wavelength_range – range of wavelengths to sweep over.

  • n_points – number of points in the sweep.

  • results – results to return.

  • extra_ona_props – additional properties for the ONA simulation.

  • kwargs – additional arguments for the simulation.