Theta oscillations reflect rhythmic inputs that continuously converge to the hippocampus during exploratory and memory-guided behavior. The theta-nested operations that organize hippocampal spiking could either occur regularly from one cycle to the next or be tuned on a cycle-by-cycle basis. To resolve this, we identified spectral components nested in individual theta cycles recorded from the mouse CA1 hippocampus. Our single-cycle profiling revealed theta spectral components associated with different firing modulations and distinguishable ensembles of principal cells. Moreover, novel co-firing patterns of principal cells in theta cycles nesting mid-gamma oscillations were the most strongly reactivated in subsequent offline sharp-wave/ripple events. Finally, theta-nested spectral components were differentially altered by behavioral stages of a memory task; the 80-Hz mid-gamma component was strengthened during learning, whereas the 22-Hz beta, 35-Hz slow gamma, and 54-Hz mid-gamma components increased during retrieval. We conclude that cycle-to-cycle variability of theta-nested spectral components allows parsing of theta oscillations into transient operating modes with complementary mnemonic roles.
Spike sorting is a crucial step in electrophysiological studies of neuronal activity. While many spike sorting packages are available, there is little consensus about which are most accurate under different experimental conditions. SpikeForest is an open-source and reproducible software suite that benchmarks the performance of automated spike sorting algorithms across an extensive, curated database of ground-truth electrophysiological recordings, displaying results interactively on a continuously-updating website. With contributions from eleven laboratories, our database currently comprises 650 recordings (1.3 TB total size) with around 35,000 ground-truth units. These data include paired intracellular/extracellular recordings and state-of-the-art simulated recordings. Ten of the most popular spike sorting codes are wrapped in a Python package and evaluated on a compute cluster using an automated pipeline. SpikeForest documents community progress in automated spike sorting, and guides neuroscientists to an optimal choice of sorter and parameters for a wide range of probes and brain regions.