1. pyopus.simulator — Simulator support module

Simulator support module

Nothing from the submodules of this module is imported into the main simulator module. The simulator module provides only the simulatorClass() function for on-demand loading of simulator classes.

pyopus.simulator.simulatorClass(className)

Returns the class object of the simulator named className. Raises an exception if the simulator class object is not found.

This function provides on-demand loading of simulator classes.

To create a simulator object of the class SpiceOpus and put it in sim use:

from pyopus.simulator import simulatorClass
SimClass=simulatorClass('SpiceOpus')
sim=SimClass()

Previous topic

Welcome to PyOPUS documentation!

Next topic

1.1. pyopus.simulator.base — Base class for simulator objects

This Page