Thanks, Jochen!!!
However, this does not completely solve the problem: now, for the second run of Simulate()
the simulation is empty until the end of the previous run, and then the second run starts.
I mean:
nest.Simulate(250) # -> generates a simulation from 0 to 250
vm.n_events = 0 # data from previous runs is gone
nest.Simulate(250). # -> This simulation goes from 250 to 500. It shows empty results
between 0 and 250 for V, and the actual simulation between 250 and 500 for V.
If we examine the voltmeter.events content after both runs, the entry 'times'
shows values between 250 and 500, so the command vm.n_events = 0 resets the contents (I
checked it), but NOT some internal time counter.
Should I do a full nest.ResetKernel() and rebuilt everything (i.e., the network) for EACH
run? No problem, although it sounds strange to me... ;-)
in any case, thanks again!!!
gus.-