I'm trying to run the unsupervised spike sorting using kilosort in Brainstorm and I get the following error message:
** Error: [process_spikesorting_kilosort] Electrophysiology > Unsupervised Spike Sorting > KiloSort
** Line 33: zeros
** NaN and Inf not allowed.
** Call stack:
** >process_spikesorting_kilosort.m at 33
** >bst_process.m>Run at 203
** >bst_process.m at 38
** >panel_process1.m>RunProcess at 138
** >panel_process1.m at 26
** >gui_brainstorm.m>CreateWindow/ProcessRun_Callback at 777
** >bst_call.m at 28
** >gui_brainstorm.m>@(h,ev)bst_call(@ProcessRun_Callback) at 298
I have look through this forum, and was not able to find a similar error type.
The data are collected using a Tucker Davis technologies system and the signal (24.4 kHz) is already band pass filters (300-5000 Hz). After loading the data I'm able to display the signal trace.
Do you have any idea why this happens?
Thank you for your reply.
I have also concluded that it must be the data format, since I can run kilosort on your example plexon data. When I import the data it finds 4 channels Wav and SU_1 are the data channels. Wav1 is wideband data and SU_1 is bandpas filtered 0.3-5 kHz, so in a way it is a repeat. The other channels (Sel1 and Pu1) are event markers. I have assigned SU1 as a EEG type channel and the others to MISC.
What is flat channels?
Link to data: https://drive.google.com/drive/folders/1yvqK4pPDqVq3QlUfKSG_kMfTXIhcq5oC?usp=sharing