Kilosort
Kilosort copied to clipboard
Error running datashift2 during PreProcessing
Hello, I was running Kilosort 2.5 (through the classic method, using scripts) on my own data and got the following error:
Index in position 1 exceeds array bounds (must not exceed 19).
Error in getClosestChannels2 (line 15)
iC= isort(1:NchanClosest, :);
Error in standalone_detector (line 40)
[iC2, dist2] = getClosestChannels2(ycup, xcup, ycup, xcup, NchanNearUp);
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
I am aware that apparently there is a problem when the number of channels is somehow small (we have 10 channels), from the answer that @marius10p gave on #318. So my question is, isn't it possible to run Kilosort 2.5 with a 10 channels shank record?
Thanks for the attention in advance :)