You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The run_args feature is very useful for simulations where you want to present different stimuli to a network, but currently this only works if you can represent the stimulus as the initial value of a state variable (e.g. the rates of a PoissonGroup), or as the values in a TimedArray. You cannot change the values of a SpikeGeneratorGroup, since it currently checks and prepares the data structures in Python code. If we moved this preparation into the templates, it would become possible to switch out the spikes indices/times for every run via run_args. See this related discussion: https://brian.discourse.group/t/dynamically-loading-spiketimes-in-a-spikegeneratorgroup-on-c-standalone-mode/1369/3
The text was updated successfully, but these errors were encountered:
The
run_args
feature is very useful for simulations where you want to present different stimuli to a network, but currently this only works if you can represent the stimulus as the initial value of a state variable (e.g. therates
of aPoissonGroup
), or as the values in aTimedArray
. You cannot change the values of aSpikeGeneratorGroup
, since it currently checks and prepares the data structures in Python code. If we moved this preparation into the templates, it would become possible to switch out the spikes indices/times for every run viarun_args
. See this related discussion: https://brian.discourse.group/t/dynamically-loading-spiketimes-in-a-spikegeneratorgroup-on-c-standalone-mode/1369/3The text was updated successfully, but these errors were encountered: