some neurons of SpikeGeneratorGroup "spikegeneratorgroup" spike more than once during a time step.

46 views
Skip to first unread message

Ankush Kumar

unread,
Oct 1, 2020, 10:09:51 AM10/1/20
to Brian Development
In my problem, two neurons are expected to fire at the same time. Say 

indices = [ 0,1,1,2,1,1,1,0,0,1]
times = ([4, 4,33, 53,65, 67, 72, 78, 82,89])*ms 
0 and 1 neuron at time 4 ms 

An error occurred when preparing an object. ValueError: Using a dt of <spikegeneratorgroup.dt: 100. * usecond>, some neurons of SpikeGeneratorGroup "spikegeneratorgroup" spike more than once during a time step.


What should I do to avoid the error and execute the code. 


Thanks 

Marcel Stimberg

unread,
Oct 1, 2020, 10:28:28 AM10/1/20
to brian-de...@googlegroups.com
Hi,

we are trying to migrate away from Google Groups, could you use
https://brian.discourse.group instead? That said, in your example I do
not see any reason for the error message: the error complains about a
single neuron spiking twice within a time step, your spike times are
only the same for two *different* neurons. Your example runs without
error for me.

Best,

  Marcel


Reply all
Reply to author
Forward
0 new messages