def reset(self, populations=True, projections=False, synapses=False): """ Reinitialises the network to its state before the call to compile. *Parameters*: * **populations**: if True (default), the neural parameters and variables will be reset to their initial value. * **projections**: if True, the synaptic parameters and variables (except the connections) will be reset (default=False). * **synapses**: if True, the synaptic weights will be erased and recreated (default=False). """ Global.reset(populations, projections, synapses, self.id)