I'm new to kilosort3, and I cannot pass the first batch of preprocessing.
I'm using kilosort 3, on matlab 2022a, for 32-ch u-probe neural recordings.
I load the data and map alright, (see snippet below), but after clicking "Run all", only one batch is processed and I get the following error message:
`Getting channel whitening matrix...
Channel-whitening matrix computed.
Time 0s. Loading raw data and applying filters...
Time 1s. Finished preprocessing 1 batches.
Error using indexing
Subscript indices must either be real positive integers or logicals.
Hi all,
I'm new to kilosort3, and I cannot pass the first batch of preprocessing. I'm using kilosort 3, on matlab 2022a, for 32-ch u-probe neural recordings. I load the data and map alright, (see snippet below), but after clicking "Run all", only one batch is processed and I get the following error message:
`Getting channel whitening matrix... Channel-whitening matrix computed. Time 0s. Loading raw data and applying filters... Time 1s. Finished preprocessing 1 batches. Error using indexing Subscript indices must either be real positive integers or logicals.
Error in extractTemplatesfromSnippets (line 56) wTEMP = dd(:, round(linspace(1, size(dd,2), nPCs)));
Error in datashift2 (line 4) [wTEMP, wPCA] = extractTemplatesfromSnippets(rez, NrankPC);
Error in ksGUI/runPreproc (line 732) obj.rez = datashift2(obj.rez, 1);
Error in ksGUI>@(~,~)obj.runPreproc() (line 333) 'Callback', @(~,~)obj.runPreproc());
Error while evaluating UIControl Callback.`
I have an NVIDIA T400 GPU installed and all drivers are running OK.
Any thoughts on what I might be doing wrong?
Thanks!