Extended Data Fig. 8: Unit stability and isolation.

(a) Sample units (from Rat U) depicting mean spike waveform and unit stability assessed by spike amplitude, isolation distance, and firing rate over three sleep epochs (PRE, POST, and latePOST). Inclusion thresholds for isolation distance and firing rates are shown with dashed lines. (b) The distribution of unit stability measures by pooling across all units in sessions shown for each dataset. See Methods for further details on unit inclusion criteria. Within-group comparisons used two-sided Wilcoxon Signed Rank Tests. (c) The L-ratio was used to quantify the degree of overlap in the spike feature space between each pair of units. Each scatterplot (top row) shows the spikes of the reference unit #20 (black) and other units (colored) recorded on the same shank in an example recording session from the Giri dataset. The axes in each scatterplot correspond to the spike amplitude on two channels with maximal distinction between the pairs, showing a range of overlap with unit #20. For example, unit #30 on the leftmost inset showed almost no overlap, whereas unit 19 on the rightmost inset significantly overlapped. The L ratio (e.g. between unit #20 and the other units) was obtained by calculating the probability of spikes from the second unit belonging to the reference unit. An L ratio threshold of 10−3 was applied to include only isolated units for determining the LTs of each reference cell. Corresponding mean spike waveforms (bottom row) provided for each pair of units across recording electrodes. (d) The cumulative distributions of L ratios for this example session and across all sessions (top) (n = 40207 unit pairs). The L-ratios for each individual session (bottom), showing mean (dots), the full range (whiskers) and interquartile range (boxes).