Sorrel
Sorrel is a native, high-performance GUI for manual curation of spike-sorted electrophysiology data. It targets the same workflow as phy — cluster-by-cluster inspection, relabelling, merging, and splitting — but is built around a zero-cost, monomorphised Rust core and a wgpu-backed renderer.
Highlights
- Multiple backends. Reads phy/Kilosort directories, SpikeInterface
SortingAnalyzer(binary folder), legacy MATLABrez.mat, and NWB files. Recording-only formats (SpikeGLX, Open Ephys, Mountainsort MDA) are supported as raw trace sources. - Native egui + wgpu UI. Trace, raster, ISI, CCG, waveform, template, feature, drift, probe, similarity, quality, and suggestion views.
- GPU compute path. Optional wgpu kernels for common-median referencing, high-pass filtering, and mean-snippet extraction along the trace window; transparent CPU fallback.
- Static dispatch core.
Session<P>is generic over aDataProvidertrait — every hot path (downsampling, vertex generation, journaling, metrics) is monomorphised per backend. - Durable curation. Every label change, merge, split, and undo/redo is written to an append-only journal before the in-memory session moves. The journal is replayable and idempotent.
- Headless QC export.
sorrel qcruns the full metrics pipeline and writescluster_qc.tsv+cluster_qc.jsonwithout spawning a window. - Python bridge. The
sorrel-pycrate exposessorrel.open(recording, sorting)for SpikeInterface users.
Visit the Sorrel website or download the native build for your OS. Source code is hosted at github.com/caniko/sorrel.