simulate
core.Simulate.simulate(
duration,
measure_time=False,
progress_bar=False,
callbacks=True,
net_id=0,
)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):
simulate(1000.0)Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| duration | float | the duration in milliseconds. | required |
| measure_time | bool | defines whether the simulation time should be printed. | False |
| progress_bar | bool | defines whether a progress bar should be printed. | False |
| callbacks | bool | defines if the callback method (decorator every should be called). |
True |
Returns
| Name | Type | Description |
|---|---|---|
| None |