sailfish.driver.simulate
- sailfish.driver.simulate(driver)[source]
Main generator for running simulations.
If invoked with a DriverArgs instance in driver, the other arguments are ignored. Otherwise, the driver is created from the setup name, model paramters, and keyword arguments.
This function is a generator: it yields its state at a sequence of pause points, defined by the events dictionary.