Hi!
tldr; ResetNetwork is deprecated in NEST 2.x and will be gone in NEST 3.
From the docs (https://nest-simulator.readthedocs.io/en/latest/guides/running_simulations.h...):
The ResetNetwork() function available in NEST 2 is incomplete in that it only resets the state of neurons and devices to default values and deletes spikes that are in the delivery pipeline. It does does not reset plastic synapses or delete spikes from the spike buffers of neurons. We will therefore remove the function in NEST 3 and already now advise against using ResetNetwork().
Best regards, Jochen!
On 27.11.19 15:00, Julian Martin Leslie Budd wrote:
Hi Andrew
Hi Andrew
For pynest, you might want to look at ResetNetwork() or CopyModel(existing, new, params=None) commands (https://www.nest-simulator.org/part-2-populations-of-neurons/) to see if this is what you need. For sli, see https://www.nest-simulator.org/helpindex/cc/ResetNetwork.html and https://www.nest-simulator.org/helpindex/cc/CopyModel.html.
Regards, Julian
*From: *"Charl Linssen" nest-users@turingbirds.com *To: *"users" users@nest-simulator.org *Sent: *Wednesday, 27 November, 2019 14:54:45 *Subject: *[NEST Users] Re: NEST network object
Dear Andrew,
Please forgive our late reply; virtually the entire NEST development team is currently attending a conference and has been very busy with preparations.
There is no such thing as a "deep copy" for networks. It is also difficult to reset a network back to its initial state in a generic manner. However, it is possible to call nest.Simulate() repeatedly. Could it be a solution to simulate your network, perform analysis on the data recorded by the instrumentation, and then manually reset the network to a suitable initial state, before calling Simulate() again? This way, you would avoid the overhead of having to re-connect the network. The manual reset could involve e.g. resetting membrane potentials on the nodes in your network.
Please let us know if this works for you.
Kind regards, Charl Linssen
On Tue, Nov 26, 2019, at 12:39, alehr wrote:
Dear NEST developer, I am wondering if my inquiry from November 11th has been looked at. Thanks, Andrew Lehr On Mon, Nov 11, 2019 at 1:52 PM alehr <alehr@mun.ca <mailto:alehr@mun.ca>> wrote: Dear NEST developer, I would like to initialize a network with neurons and connections and then run many simulations with it. It would be great if I could build the network one time and then deepcopy (or something similar) for each simulation. Is something like this possible? Thanks, Andrew Lehr _______________________________________________ NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
-- Dr. Jochen Martin Eppler Phone: +49(2461)61-96653 ---------------------------------- Simulation Laboratory Neuroscience Jülich Supercomputing Centre Institute for Advanced Simulation
------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------