Skip to content
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

Trying to use just 8 channels, but same errors occur #255

Open
EperjesiDavid opened this issue Mar 17, 2022 · 0 comments
Open

Trying to use just 8 channels, but same errors occur #255

EperjesiDavid opened this issue Mar 17, 2022 · 0 comments

Comments

@EperjesiDavid
Copy link

EperjesiDavid commented Mar 17, 2022

Hello,
in a previous issue, I saw, that others have very similar errors when trying to use KiloSort (for me 2.5 and also 2.0) on fewer than 16 channels. Maybe I did all the necessary settings in configs and channel map (same as Linear16x1_kilosortChanMap.mat but just 8x1 in my case); raw data is in 8x<length of the recording in 20 kHz resolution> format bin or dat file, but getting these consistent errors when trying to run KiloSort:

Index in position 1 exceeds array bounds. Index must not exceed 8.

Error in getClosestChannels2 (line 15)
iC= isort(1:NchanClosest, :);

Error in standalone_detector (line 28)
[iC, dist] = getClosestChannels2(ycup, xcup, rez.yc, rez.xc, NchanNear);

Error in datashift2 (line 31)
[st3, rez] = standalone_detector(rez, spkTh);

Error in main_kilosort (line 39)
rez = datashift2(rez, 1); % last input is for shifting data

Are there any solutions for these now? Or KiloSort simply is not suitable for recordings with fewer than 16 channels?
Thank You!

@EperjesiDavid EperjesiDavid changed the title Trying to use just 8 channels, but same errors occurs Trying to use just 8 channels, but same errors occur Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant