Simulation#

class Simulation(ckt: Callable[[...], Union[Dict[Tuple[str, str], jaxtyping.Complex[Array, '...']], Tuple[jaxtyping.Int[Array, 'dim'], jaxtyping.Int[Array, 'dim'], jaxtyping.Complex[Array, '...'], Dict[str, int]], Tuple[jaxtyping.Complex[Array, '...'], Dict[str, int]]]], wl: Union[jax.Array, numpy.ndarray, numpy.bool_, numpy.number, bool, int, float, complex])[source]#

Bases: object

Base class for simphony simulations.

Parameters
  • ckt (Model) – A callable SAX model.

  • wl (ArrayLike) – The wavelengths at which to simulate the circuit.