Fig. 2: Cortex-wide trial variance with deep brain stimulation.

a Diagram of deep brain stimulation with parameterized waveform. b An example of the neural response of electrical stimulus tuning. Different neural groups are oppositely tuned, some are activated (top) and others are deactivated (bottom). c Cortex-wide spatial response pattern of the same stimulation, on the scale of a single neuron (top) and wide-filed imaging (bottom). d The distribution of change of z-scored fluorescence intensity both in the single neuron modality (top) and the low-resolution wide-field modality (bottom). The black dashed line and the red dashed line show the value 0 and the mean response of neurons/pixels. e Trial-averaged functional connectivity between neuron pairs evaluated by Pearson correlation in a 2-s time window before the DBS onset (left), and the distribution of the correlation (right). f Same as e but for a post-stimulation time window. g Comparison of population vector (PV) correlation pre- and post-stimulation at single-neuron level (SN) and wide-field level (WF). Three mice, n = 45 trial pairs. Paired two-sided Wilcoxon test. p = 5 × 10−9 between SN pre and SN post, p = 1 × 10−7 between WF pre and WF post, p = 6 × 10−9 between SN post and WF post. ***p < 0.0005; error bars: SEM. Source data are provided as a Source Data file.