gplugins.tidy3d.write_sparameters_grating_coupler_batch

gplugins.tidy3d.write_sparameters_grating_coupler_batch#

gplugins.tidy3d.write_sparameters_grating_coupler_batch(jobs: list[dict[str, Any]], **kwargs) list[Awaitable[dict[str, ndarray[Any, dtype[float64]]]]][source]#

Returns Sparameters for a list of write_sparameters.

Each job runs in separate thread and is non blocking. You need to get the results using sp.result().

Parameters:
  • jobs – list of kwargs for write_sparameters_grating_coupler.

  • kwargs – simulation settings.