restore function

(Shortest import: from brian2 import restore)

brian2.core.magic.restore(name='default')[source]

Restore the state of the network and all included objects.

Parameters:

name : str, optional

The name of the snapshot to restore, if not specified uses 'default'.