Hi Hans,
Thanks for your information. Fortunately, I do not normalize output connections (only
input), hence, this code works for me.
Another question. Take that I call nest.Simulate() inside a for loop and I want to
normalize weights after every iteration. In order to avoid calling GetConnections() for
every loop iteration, may I get the connections calling GetConnections() just once? May I
safely suppose that after every Simulate() new weights of my connections (they are changed
because I use STDP) will be available (for reading) using the same variable? An example
code would be something like:
my_conn = GetConnections(...)
for iter in range(...)
nest.Simulate(...)
normalize_connections(my_conn) # function that normalizes weights and calls
nest.SetStatus(my_conn, ...)
Many thanks in advance!
Xavier