Rxivist logo

Kilosort: realtime spike-sorting for extracellular electrophysiology with hundreds of channels

By Marius Pachitariu, Nicholas Steinmetz, Shabnam Kadir, Matteo Carandini, Harris Kenneth D.

Posted 30 Jun 2016
bioRxiv DOI: 10.1101/061481

Advances in silicon probe technology mean that in vivo electrophysiological recordings from hundreds of channels will soon become commonplace. To interpret these recordings we need fast, scalable and accurate methods for spike sorting, whose output requires minimal time for manual curation. Here we introduce Kilosort, a spike sorting framework that meets these criteria, and show that it allows rapid and accurate sorting of large-scale in vivo data. Kilosort models the recorded voltage as a sum of template waveforms triggered on the spike times, allowing overlapping spikes to be identified and resolved. Rapid processing is achieved thanks to a novel low-dimensional approximation for the spatiotemporal distribution of each template, and to batch-based optimization on GPUs. A novel post-clustering merging step based on the continuity of the templates substantially reduces the requirement for subsequent manual curation operations. We compare Kilosort to an established algorithm on data obtained from 384-channel electrodes, and show superior performance, at much reduced processing times. Data from 384-channel electrode arrays can be processed in approximately realtime. Kilosort is an important step towards fully automated spike sorting of multichannel electrode recordings, and is freely available github.com/cortex-lab/Kilosort.

Download data

  • Downloaded 11,941 times
  • Download rankings, all-time:
    • Site-wide: 623
    • In neuroscience: 25
  • Year to date:
    • Site-wide: 1,384
  • Since beginning of last month:
    • Site-wide: 1,087

Altmetric data

Downloads over time

Distribution of downloads per paper, site-wide


Sign up for the Rxivist weekly newsletter! (Click here for more details.)