Imagine trying to understand the brain’s activity over time—an incredibly complex and dynamic process that happens at different speeds.
To solve this problem, we developed a pipeline called UnitMatch, which operates after spike sorting. Before applying UnitMatch, the user spike sorts each recording independently using their preferred algorithm. UnitMatch then deploys a naive Bayes classifier on the units’ average waveform in each recording and tracks units across recordings, assigning a probability to each match.
We tested UnitMatch on sequences of Neuropixels recordings from multiple regions of the mouse brain and found that it reliably tracked neurons across weeks. Its performance compares well to the concatenated method and to curation by human experts, while being much faster and applicable to longer sequences of recordings.