-
Notifications
You must be signed in to change notification settings - Fork 3
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
Recording spikes; ids seem to need sorting #45
Comments
That is interesting! can you try and figure out why sorting might be required? dictionaries in Python are unordered so I'd be a little concerned that this just works around a more fundamental problem with this module...However, I just had a look at the code and I honestly can no longer remember how it worked 😟 |
Just a side note. Ducts in python37 are now ordered.
…On Wed, 12 Feb 2020, 13:30 neworderofjamie, ***@***.***> wrote:
That is interesting! can you try and figure out why sorting might be
required? dictionaries in Python are unordered so I'd be a little concerned
that this just works around a more fundamental problem with this
module...However, I just had a look at the code and I honestly can no
longer remember how it worked 😟
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#45?email_source=notifications&email_token=ABUJDNSNNYYBFT5TBIYSFA3RCP2XJA5CNFSM4KTYQIAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQYOYA#issuecomment-585205600>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUJDNU5MQG56GWA4UPEIDDRCP2XJANCNFSM4KTYQIAA>
.
|
From what I can understand, It makes sense that, for a Annoyingly, I've only seen this in one of the populations in my experiments and, fortunately, it seems to only affect the recording side of things. |
I was getting weird spikes out of simulation, they appeared to be shifted by neuron id. After adding a sort to the
new_ids
set it looks like this is corrected.pynn_genn/pynn_genn/recording.py
Lines 40 to 41 in 0774e22
Should become
I have been unable to generate a small test case, though I've observed this in my big simulations repeatedly. Also, I can only verify this with SpikeSourceArrays as I can compare the input to the output.
The text was updated successfully, but these errors were encountered: