gplugins.sax.read.model_from_component

gplugins.sax.read.model_from_component#

gplugins.sax.read.model_from_component(component, simulator: Literal['lumerical', 'meep', 'tidy3d'], **kwargs) Callable[[...], Dict[Tuple[str, str], Complex[Array, '...']] | Tuple[Int[Array, 'dim'], Int[Array, 'dim'], Complex[Array, '...'], Dict[str, int]] | Tuple[Complex[Array, '...'], Dict[str, int]]][source]#

Returns SAX model from lumerical FDTD simulations.

Parameters:
  • component – to simulate.

  • simulator – meep, lumerical or tidy3d.

  • kwargs – simulator settings.