-
Notifications
You must be signed in to change notification settings - Fork 247
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
Spikes not detected Kilosort 2 and 3 - Tetrode data #505
Comments
I have a similar issue when sorting tetrodes in KS3, any clue how to go about this? I tried different geometry settings (each tetrode has the same x or y coordinates, all coordinates close or the dimension coding for different tetrodes is ~1000x larger than the dimension coding for different channels on the same tetrode, eg [1 1000] [2 1000] [3 1000] [4 1000] [1 2000] ...). The same sort config worked fine for high density probes similar to neuropixels. Is there maybe a problem if the waveform doesn't show across many channels, in that templates consist of a minimum number of channels and the matching score will always be low and close to noise levels? |
Hey Dan, I also tried different channel maps, if I remember correctly I got many more clusters when I had the tetrodes separated by 1000 compared to <100, but still lots of noisy clusters. Have you also tried KS2? I had better results with this. I will try again to alter more parameters and let you know if anything improves. |
Hi, |
hi both, I would recommend KS2 for tetrodes. KS2.5 and KS3 require a known geometry to do the drift correction, and they will probably alter the data in unpredictable ways. Starting from KS2, you can play around with the parameters (thresholds) to get more/less spikes. If you know that you don't have drift, i.e. it's a very stable chronic prep, then you can disable drift correction and try KS3. |
Hi Marius, thanks for your reply, I have only implemented KS3 without drift correction so far. Starting with KS2, I have lowered threshold parameters but still it is not detecting clear, high snr spikes on an otherwise quiet tetrode, e.g. below (see chan 106). Further reductions does not pick up these spikes but complicates the clusters more (eg.2 below). Do you have another suggestion? Thank-you for your time. |
Hi,
I am trying to sort tetrode data using Kilosort 3 without drift correction but unfortunately lots of spikes, of average amplitude, are not being detected. I also tried with Kilosort 2 but had the same problem. So far I have tried to alter the sd threshold, however this did not help. With the default -6 threshold I am missing spikes but also having lots of clusters of low amp noise. Finally, at least on phy, the highlighted spikes in trace view do not occupy all four channels in the defined k-coord, I wonder if this reflects that the spike sorting is not using all four channels to make the clusters, or perhaps this is just a visual thing in phy.
In case it helps, my xcoords are [30 30 30 30, 60 60 60 60, ... , 960 960 960] and y coords are all split by 10. This mapping was mainly chosen for viewing purposes in phy.
Any advice on how to improve the spike detection will be greatly appreciated,
Thanks,
Zoe Atherton
Screen shot displaying KS3 data, bottom right corner of trace view has many missed spikes:
Screen shot displaying same data in KS2 (bottom third of trace view shows multiple missed spikes):
The text was updated successfully, but these errors were encountered: