reset
reset(
populations=True,
projections=False,
synapses=False,
monitors=True,
net_id=0,
)Reinitialises the network to its state before the call to compile. The network time will be set to 0ms.
All monitors are emptied.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| populations | bool | if True (default), the neural parameters and variables will be reset to their initial value. | True |
| projections | bool | if True, the synaptic parameters and variables (except the connections) will be reset (default=False). | False |
| synapses | bool | if True, the synaptic weights will be erased and recreated (default=False). | False |
| monitors | bool | if True, the monitors will be emptied and reset (default=True). | True |