ViSAPy: a Python tool for biophysics-based generation of virtual spiking activity for evaluation of spike-sorting algorithms

J Neurosci Methods. 2015 Apr 30:245:182-204. doi: 10.1016/j.jneumeth.2015.01.029. Epub 2015 Feb 4.

Abstract

Background: New, silicon-based multielectrodes comprising hundreds or more electrode contacts offer the possibility to record spike trains from thousands of neurons simultaneously. This potential cannot be realized unless accurate, reliable automated methods for spike sorting are developed, in turn requiring benchmarking data sets with known ground-truth spike times.

New method: We here present a general simulation tool for computing benchmarking data for evaluation of spike-sorting algorithms entitled ViSAPy (Virtual Spiking Activity in Python). The tool is based on a well-established biophysical forward-modeling scheme and is implemented as a Python package built on top of the neuronal simulator NEURON and the Python tool LFPy.

Results: ViSAPy allows for arbitrary combinations of multicompartmental neuron models and geometries of recording multielectrodes. Three example benchmarking data sets are generated, i.e., tetrode and polytrode data mimicking in vivo cortical recordings and microelectrode array (MEA) recordings of in vitro activity in salamander retinas. The synthesized example benchmarking data mimics salient features of typical experimental recordings, for example, spike waveforms depending on interspike interval.

Comparison with existing methods: ViSAPy goes beyond existing methods as it includes biologically realistic model noise, synaptic activation by recurrent spiking networks, finite-sized electrode contacts, and allows for inhomogeneous electrical conductivities. ViSAPy is optimized to allow for generation of long time series of benchmarking data, spanning minutes of biological time, by parallel execution on multi-core computers.

Conclusion: ViSAPy is an open-ended tool as it can be generalized to produce benchmarking data or arbitrary recording-electrode geometries and with various levels of complexity.

Keywords: Benchmark data; Extracellular potential; Methods validation; Multicompartment model; Open-source software; Spike sorting.

Publication types

  • Research Support, N.I.H., Extramural
  • Research Support, Non-U.S. Gov't

MeSH terms

  • Action Potentials / physiology*
  • Animals
  • Biophysics*
  • Brain Waves / physiology
  • Computer Simulation
  • Mice
  • Mice, Inbred C57BL
  • Microelectrodes
  • Models, Neurological*
  • Neurons / cytology
  • Neurons / physiology*
  • Principal Component Analysis
  • Retina / cytology
  • Retina / physiology
  • Signal Processing, Computer-Assisted
  • Synapses / physiology
  • Visual Cortex / cytology*