Neuromatch 3 / / Track 1 / Interactive talk
Watch now on YouTube

SpikeInterface, a unified framework for spike sorting

Matthias Hennig

Alessio P Buccino, Department of Biosystems Science and Engineering, ETH Zurich, Switzerland; Cole L Hurwitz, School of Informatics, University of Edinburgh, United Kingdom; Jeremy Magland, Flatiron Institute, New York City, NY, United States; Samuel Garcia, Centre de Recherche en Neuroscience de Lyon, CNRS, Lyon, France; Joshua H Siegle, Allen Institute for Brain Science, Seattle, WA, United States; Roger Hurwitz, Independent Researcher, Portland, Oregon, USA; Matthias H Hennig, School of Informatics, University of Edinburgh, United Kingdom

Abstract

Given the importance of understanding single-neuron activity, much development has been directed towards improving the performance and automation of spike sorting. These developments, however, introduce new challenges, such as file format incompatibility and reduced interoperability, that hinder benchmarking and preclude reproducible analysis. To address these limitations, we developed SpikeInterface, a Python framework designed to unify preexisting spike sorting technologies into a single codebase and to standardize extracellular data file operations. With a few lines of code and regardless of the underlying data format, researchers can: run, compare, and benchmark most modern spike sorting algorithms; pre-process, post-process, and visualize extracellular datasets; validate, curate, and export sorting outputs; and more. In this paper, we provide an overview of SpikeInterface and, with applications to both real and simulated extracellular datasets, demonstrate how it can improve the accessibility, reliability, and reproducibility of spike sorting in preparation for the widespread use of large-scale electrophysiology.