RateCodeSpikeGen
does not behave correctly when incoming pattern amplitude is higher than 12000
#15
Labels
1-bug
Something isn't working
When
RateCodeSpikeGen
receives a pattern containing one amplitude that is higher than 12000, the expected behavior would be that the neuron corresponding to that amplitude would spike every time step (saturate).However, currently, it is not the case. Current behavior is that said neuron will not fire at all.
This is due to the fact that, when computing distances, upon new pattern arrival, we do the following :
This would result to
distances
having a 0 at indices where the pattern is higher than 12000 (sinceTIME_STEP_PER_MINUTE
is set to 6000 right now). 0 representing an infinite distance with the current wayRateCodeSpikeGen
is implemented, this is not correct.It should saturate to 1, in that case.
The text was updated successfully, but these errors were encountered: