Related Experiment Video
Updated: Apr 17, 2026

A Visual Guide to Sorting Electrophysiological Recordings Using 'SpikeSorter'
Published on: February 10, 2017
ViSAPy: a Python tool for biophysics-based generation of virtual spiking activity for evaluation of spike-sorting
Espen Hagen1, Torbjørn V Ness2, Amir Khosrowshahi3
1Department of Mathematical Sciences and Technology, Norwegian University of Life Sciences, P.O. Box 5003, NO-1432 Aas, Norway; Institute of Neuroscience and Medicine (INM-6) and Institute for Advanced Simulation (IAS-6), Jülich Research Centre and JARA, 52425 Jülich, Germany.
ViSAPy is a new Python tool that simulates neural recordings to create ground-truth data for evaluating spike-sorting algorithms. This enables more accurate analysis of neural activity from large-scale multielectrode recordings.
Area of Science:
- Computational neuroscience
- Neurotechnology
Background:
- Advanced silicon multielectrodes enable recording from thousands of neurons simultaneously.
- Accurate spike sorting is crucial for realizing the potential of these high-density recordings.
- Development of reliable benchmarking datasets with known ground-truth spike times is essential for validating spike-sorting algorithms.
Purpose of the Study:
- To introduce ViSAPy (Virtual Spiking Activity in Python), a novel simulation tool for generating benchmarking data.
- To facilitate the evaluation and improvement of spike-sorting algorithms.
Main Methods:
- ViSAPy utilizes a biophysical forward-modeling scheme implemented in Python.
- It integrates with the NEURON simulator and the LFPy tool.
- The tool supports arbitrary combinations of multicompartmental neuron models and multielectrode geometries.
Main Results:
- ViSAPy generates realistic benchmarking datasets mimicking in vivo and in vitro recordings.
- Example datasets include tetrode, polytrode, and microelectrode array (MEA) data.
- Synthesized data capture key experimental features like interspike interval-dependent spike waveforms.
Conclusions:
- ViSAPy offers a flexible and extensible platform for creating spike-sorting benchmarking data.
- The tool can be adapted for diverse recording-electrode configurations and complexity levels.
- It addresses limitations of existing methods by incorporating realistic noise, synaptic activity, and electrode properties.

