cortex-lab / KiloSort

GPU code for spike sorting
GNU General Public License v2.0
172 stars 100 forks source link

first time Kilosort running #228

Open Olivier-Dub opened 3 years ago

Olivier-Dub commented 3 years ago

Hello,

I am new in Kilosort and I am very exciting to use it (I was previously using SpikeDetect and klustviewa). I recently installed it in Ubuntu 20.04. I wanted to try it on my data (BZ16 in hippocampus) but I have some problems when I try to run main_kilosort. My first error is when I want to run datashift2 function: Index in position 1 exceeds array bounds (must not exceed 7). Error in getClosestChannels2 (line 15) iC= isort(1:NchanClosest, :);

Why NchanClosest is fixed at 10? Also, if I fix it to 7 I have more pb after with interp1 Error using matlab.internal.math.interp1 The sample points must be finite. Error in interp1 (line 188) VqLite = matlab.internal.math.interp1(X,V,method,method,Xqcol);

Maybe I did not prepare my ChanMap or my data correctly but they seems OK. Would you have an idea of what is happening?

Thank you very much for your time

Olivier

marius10p commented 3 years ago

how many channels are you recording from? There are probably a few places where we assume a large number of channels.

Olivier-Dub commented 3 years ago

I recorded 16 channels. Yes, maybe that is the reason for my error message.

O.

Le lun. 2 nov. 2020 à 15:39, Marius Pachitariu notifications@github.com a écrit :

how many channels are you recording from? There are probably a few places where we assume a large number of channels.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cortex-lab/KiloSort/issues/228#issuecomment-720711741, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTOJTD5NZJKUQEKYIXL2SDSN4KJPANCNFSM4TH4OGDA .

--

Olivier DUBANET PhD

marius10p commented 3 years ago

How are the channels arranged? Data registration might work for fewer channels too, but it will probably need substantially different settings. I'll probably have to make some updates for that kind of situation.

Olivier-Dub commented 3 years ago

There are two shanks with 8 channels on each (20-25 micro distance). I tried also with 16 linear probe and I have the same problem.

marius10p commented 3 years ago

I just realized this is the wrong repo, which is now outdated. It sounds from your message that you are in fact using this one: https://github.com/MouseLand/Kilosort

Olivier-Dub commented 3 years ago

yes I installed this one. Which version do I need to use?

Le lun. 2 nov. 2020 à 17:08, Marius Pachitariu notifications@github.com a écrit :

I just realized this is the wrong repo, which is now outdated. It sounds from your message that you are in fact using this one: https://github.com/MouseLand/Kilosort

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cortex-lab/KiloSort/issues/228#issuecomment-720751668, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTOJTHOSLLUMZQGM6VM5V3SN4UU7ANCNFSM4TH4OGDA .

--

Olivier DUBANET PhD

marius10p commented 3 years ago

I am saying this github issue is not in the correct repo.