Level: Advanced
Spike sorting is an essential step in electrophysiology that provides information on the selectivity of individual neurons. The common practice that most spike sorters use, is to apply a threshold on a band-passed version of the raw signals, collect a few samples of the data around that threshold crossing, and then cluster those waveforms based on their shape. Multiple clustered shapes picked up from the same electrode would signify the presence of multiple neurons. This automatic clustering (unsupervised), although powerful, can often be inaccurate. Therefore, a manual inspection of the clusters is required. After the unsupervised step, users normally manually approve or modify the clusters created (supervised step). For more general information, users can consult this non-technical article on Spike Sorting.
Our goal was to allow users to perform both steps (unsupervised-supervised) within Brainstorm. There are currently several solutions for spike sorting and since we cannot accommodate all of them, we have embedded 3 widely used algorithms within Brainstorm – Waveclus, UltraMegaSort2000 and Kilosort.
We understand that some users might not feel comfortable learning how to use a new spike sorter from scratch, therefore we created this page, so they can still use their spike sorter of preference (outside of Brainstorm), and later import the spiking events in Brainstorm using a compatible format.
The next section shows how the users can perform the Unsupervised and Supervised steps of spike sorting, with the algorithms embedded within Brainstorm.