When multi-kilosort option iterates over shanks/probes, the previous chanMap from kilosort is used instead of generating a new one.
The first shank/probe will be correct, but subsequent chanMaps may be incorrect.
|
%% Creates a channel map file |
|
if ~exist(fullfile(basepath,'chanMap.mat'),'file') |
|
disp('Creating ChannelMapFile') |
|
createChannelMapFile_KSW(basepath,basename,'staggered',rejectChannels); |
|
else |
|
disp('Loading ChannelMapFile') |
|
load(fullfile(basepath,'chanMap.mat')); |
|
end |
When multi-kilosort option iterates over shanks/probes, the previous chanMap from kilosort is used instead of generating a new one.
The first shank/probe will be correct, but subsequent chanMaps may be incorrect.
neurocode/spikeSorting/KilosortWrapper/KiloSortWrapper.m
Lines 105 to 112 in 5ba4a8b