Spike Sorting QC Calculator

Assess electrophysiology cluster quality with ISI violation rates, signal-to-noise ratios, and Allen Institute grading criteria.

Monitoring & TelemetrySpike SortingClient-Side
Tool details, related tools, and citation

Try it out

Load example Spike Sorting QC Calculator data to see the full workflow

Cluster Identity

ISI & Amplitude

  • Evaluate cluster quality after spike sorting with Kilosort, MountainSort, SpykingCircus, or similar tools
  • Screen clusters before including them in downstream neural analyses
  • Generate standardized QC reports for publications and data sharing
  • Compare sorting quality across recording sessions or electrode arrays
  • Identify clusters that need manual curation or re-sorting

Don't use for

  • As a substitute for manual waveform inspection — automated metrics complement but do not replace visual review
  • For online/real-time spike sorting quality — this tool is designed for post-hoc analysis
  • When ISI violations are expected (e.g., multi-unit activity is the intended analysis target)

Spike Sorting Quality Control Fundamentals

Spike sorting assigns extracellular voltage waveforms to putative single neurons. Quality control is essential because sorting errors propagate into all downstream analyses — firing rates, correlations, tuning curves, and population decoding.

ISI Violation Rate quantifies refractory period violations. A true single neuron cannot fire within ~1 ms of its previous spike. Violations of this constraint indicate contamination from other neurons or sorting errors.
Signal-to-Noise Ratio measures waveform detectability. Low SNR clusters have ambiguous spike shapes that are difficult to separate reliably. The threshold of SNR > 5 for “Good” quality reflects the minimum needed for confident waveform classification.
Contamination Estimation (Hill et al., 2011) uses ISI violation counts to estimate the fraction of misassigned spikes, providing a single-number summary of cluster purity.

Common Pitfalls in Spike Sorting QC

Several issues can confound spike sorting quality assessment:

Drift: Electrode drift causes waveform amplitude to change over time, splitting a single unit into multiple clusters or merging distinct units • Bursting neurons: Neurons that fire in bursts naturally have short ISIs that can be misclassified as refractory violations if the refractory period threshold is set too long • Overlapping spikes: When two neurons fire nearly simultaneously, their waveforms superimpose, creating hybrid shapes that confuse sorters • Noise floor changes: Fluctuating noise RMS (e.g., from movement artifacts) makes SNR unreliable if computed over the full recording • Low firing rate units: Clusters with very few spikes have unstable ISI violation rates — a single coincidental violation can push the rate above thresholds • Over-splitting: Aggressive sorting can split one neuron into multiple high-quality clusters, inflating the Good cluster count while reducing each cluster’s spike count

Frequently Asked Questions