simulate
=False, callbacks=True, net_id=0) simulate(duration, measure_time
Simulates the network for the given duration in milliseconds.
The number of simulation steps is computed relative to the discretization step dt
declared in setup()
(default: 1ms):
1000.0) ann.simulate(
Parameters
Name | Type | Description | Default |
---|---|---|---|
duration | float | the duration in milliseconds. | required |
measure_time | bool | defines whether the simulation time should be printed. | False |
callbacks | bool | defines if the callback methods (decorator every ) should be called. |
True |