Hi Xavier,
The result of `GetConnections()` remains valid as long as no new synapses are added or synapses deleted, so in your case, you only need to call it once.
When you then do a `conn.weight`, you will get the weights at that point in time. But note that NEST only updates synaptic weights when a spike actually passes through
the synapse, so you will get for each synapse the weight as it was at the end of the plasticity update when the most recent spike passed through that synapse.
Instead of calling Simulate() repeatedly, you can also use a RunManager context for higher efficiency, see
https://nest-simulator.readthedocs.io/en/stable/nest_behavior/running_simulations.html#split-a-simulation-into-multiple-intervals.
In case you should be wondering why global instantaneous normalization is so cumbersome in NEST: We have focused on support for biologically plausible networks so far
and instantaneous global normalization is just not biologically plausible (nor physically feasible with a view to causality).
Best,
Hans Ekkehard
--
Prof. Dr. Hans Ekkehard Plesser
Department of Data Science
Faculty of Science and Technology
Norwegian University of Life Sciences
PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560
Email hans.ekkehard.plesser@nmbu.no
Home http://arken.nmbu.no/~plesser