-
Notifications
You must be signed in to change notification settings - Fork 17
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
Cross-shaped spike localizations #86
Comments
Small update : localizations are just fine using simulated data as specified in the demo notebook. Here it is with SpikeInterface simulation, with the probe enlarged to 64 columns : Here it is with data from MEArec from the ephys test data repository : However, the issue shows up again when I run it on data simulated with SpikeInterface, but with the probe object loaded from an actual 3Brain recording : So this might be 3Brain-specific. |
What is the channel pitch on your system (60um?)? This happens when it is larger than the radius around which the COM algorithm looks to estimate location. You can increase |
Aside, on an array with 60um or larger pitch the spatial information isn't great - it is still enough to differentiate between neurons that sit on or between channels, but the spatial signal is quite noisy. |
Ran a few tests and it was indeed an issue of pitch. I looked back on older files and the localizations were OK using the legacy detection algorithm and the built-in reader. Turns out the SpikeInterface extractor for BioCam data doesn't properly infer electrode pitch, unlike the old reader. Specifying proper pitch and size (in my case 42 and 21 µm respectively) solves the issue. Thanks a lot ! |
Hmm, the extractor should work. Could you create an issue about this? What's your system? It works fine for us for a recent BioCam X. |
I'll look into a bit further, we're using a BioCam Duplex with 3rd generation Accura chips. |
Nevermind, looks like 3Brain updated their chip nomenclature. The chips we knew as Accura do have a pitch of 60 µm, and it is correctly listed in the |
So I tried a few things, and increasing |
Hmm - have you also increased |
I had tried it once but not as thoroughly. It seems to work properly when the values are both scaled appropriately, e.g. a 60 µm pitch with an |
When looking into the coordinates of individual spikes for a given cluster, I noticed that when plotted the coordinates all fit into a cross pattern. That is, a lot of spikes have the same
x
value, oddly rounded with no trailing decimals, for differenty
values and vice versa.Here it is displayed for an individual cluster :
With the matching table, notice the
x
values at exactly 2640.0 and they
values at exactly 960.0.5411 rows × 4 columns
With
PlotAll
in Lightning :With
PlotNeighbourhood
:I checked in both the saved HDF5 and directly in the
spikes
DataFrame, so I don't think this is an issue with saving/storing data.I took a look into
SpikeLocalizer
, I'm not too familiar with C but I couldn't see anything obvious.The text was updated successfully, but these errors were encountered: