reset
core.Global.reset(=True,
populations=False,
projections=False,
synapses=True,
monitors=0,
net_id )
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 |