Kilosort icon indicating copy to clipboard operation
Kilosort copied to clipboard

sort several recordings as a single session

Open DanEgert opened this issue 3 years ago • 2 comments

There's some cases where it's better to interrupt a recording but still to cluster/sort the segments like a single recording. For example when using multiple paradigms or sleep. Since recordings can get large it may not be straight forward to concatenate them before sorting. Is there a way for Kilosort to be pointed to multiple binary files and sort them as one? Thanks for any pointers.

DanEgert avatar Jul 21 '21 23:07 DanEgert

Hi Dan. If you use spikeGLX you can use CatGT from Bill Karsh to concatonate files to a single binary (https://billkarsh.github.io/SpikeGLX/#catgt). Alternatively you can also use fread/fwrite in Matlab (fairly slow) or from a command line the cat or dd commands in linux or copy in Windows to generate a single binary from multiple recordings.
Cheers

LaurenzMuessig avatar Jul 22 '21 12:07 LaurenzMuessig

You can also run kilosort on a MultiRecordingExtractor in spikeinterface

TomBugnon avatar Aug 26 '21 11:08 TomBugnon