Hi Marcel
Thanks for the followup. Is it a correct understanding that with run_args, one can now switch stimulus for each individual run efficiently?
For example,
input_neurons = NeuronGroup(100, “rate: Hz”, threshold=‘rand()<rate*dt’)
for i in range(10):
device.run(run_args={input_neurons .rate: image[i]})
,where image[i] is the ith image
If that’s the case, how does it compare to using run_regularly in terms of efficiency?
Cheers
-Wei