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, :);
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!