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]]][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.