New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spike times shifted #10
Comments
You are right. It's better to initialize the recordings as empty lists. |
Thanks for the quick response! Just to clarify since I think I am missing something: With both recordings initialized as empty lists, the offset I was referring to persists, i.e. |
Does the issue still persist with the new commit? We changed the order in which the new state is updated and add to the list. |
Ah yes, that solved it, I think! |
I have the impression that the spike recordings are shifted one time step in all tutorials. Could you maybe check if this is indeed the case?
From my understanding, time step 0 is recorded twice for the spikes, once during initialisation
and once within the simulation of time step 0:
As a result the indeces appear shifted when comparing
Thanks,
Simon
The text was updated successfully, but these errors were encountered: