Synchronous Ensembles of Hippocampal CA1 Pyramidal Neurons 1 Associated with Theta but not Ripple Oscillations During Novel 2 Exploration

12 Synchronous neuronal ensembles play a pivotal role in the consolidation of long-term memory in 13 the hippocampus. However, their organization during the acquisition of spatial memory remains 14 less clear. In this study, we used neuronal population voltage imaging to investigate the 15 synchronization patterns of CA1 pyramidal neuronal ensembles during the exploration of a new 16 environment, a critical phase for spatial memory acquisition. We found synchronous ensembles 17 comprising approximately 40% of CA1 pyramidal neurons, firing simultaneously in brief windows 18 (~25ms) during immobility and locomotion in novel exploration. Notably, these synchronous 19 ensembles were not associated with ripple oscillations but were instead phase-locked to local field 20 potential theta waves. Specifically, the subthreshold membrane potentials of neurons exhibited 21 coherent theta oscillations with a depolarizing peak at the moment of synchrony. Among newly 22 formed place cells, pairs with more robust synchronization during locomotion displayed more 23 distinct place-specific activities. These findings underscore the role of synchronous ensembles in 24 coordinating place cells of different place fields. 25


Introduction
The establishment of long-term memory involves the initial acquisition and subsequent consolidation of memory traces, processes intricately connected to the modification of synaptic transmission 1,2 .Synchronous ensembles, characterized by the simultaneous firing of multiple neurons over tens of milliseconds (referred to as population synchrony), play a pivotal role in influencing synaptic plasticity [3][4][5] .The hippocampus, a crucial region for long-term memory formation 6,7 , has been a focal point of synchronous ensemble studies.Within the hippocampus, synchronous ensembles are hypothesized to play roles in reactivating and consolidating labile memory traces 8 .However, their organization during memory acquisition remains less understood.
In the hippocampus, synchronous ensembles among CA1 pyramidal cells (CA1PCs) are predominantly observed during sharp-wave ripples, the brain waves associated with memory consolidation [8][9][10][11][12][13] .During these events, 10-18% of CA1PCs generate spikes, particularly during offline consummatory behavioral states or sleep 14,15 .These synchronous ensembles are biased toward experience-dependent reactivation, consolidating labile memory traces 16,17 .Furthermore, synchronous ensembles firing action potentials in short windows of 10-30 milliseconds enhance information processing 6 and discriminate distinct behavioral contingencies 18 .Although synchronous ensembles of CA1PCs during offline memory consolidation are well-characterized, their organization during online acquisition of spatial memory, such as when animals enter a new environment and new place cells form, remains unclear.
Previous studies have identified correlated activities among place cells during theta oscillation, where 1-3% of place cells' spikes co-activate in a forward order matching animals' trajectory in the theta cycles when animals' locations overlap in the place fields of these cells [19][20][21] .Because these place cells fire at distinct theta phases in the same cycle, this coordinated firing operates on the timescale of theta periods (~125ms) 22,23 .Population synchrony on shorter timescales (10-30 ms) is speculated to be reduced by the presence of theta oscillations 22 .
The subthreshold membrane voltage (subVm), influenced by synaptic inputs and intrinsic conductances, directly triggers spiking activity 24,25 .Additionally, properties of subVm support the organization of neuronal representation 26 .Although correlated membrane potentials have been proposed to underlie the synchrony of neuronal ensembles 27,28 , multicellular recordings of subVms have not yet provided direct experimental evidence.Given the intricate interaction among subVm, spiking, and place cell formation, it is crucial to investigate the temporal relationships of sub-and suprathreshold neuronal activities among CA1PCs during novel exploration.
In this study, we used voltage imaging to investigate the temporal dynamics of sub-and suprathreshold neuronal activities in CA1PCs during novel exploration.We found synchronous ensembles involving approximately 40% of CA1PCs exhibited transient population synchrony and correlated subthreshold membrane potentials when mice ran and stopped in a new maze.Surprisingly, these synchronous ensembles occurred outside ripple episodes and were phase-locked to extracellular and intracellular theta oscillations.Notably, cell pairs with stronger synchronous activities established more distinct place fields that overlapped less.In essence, synchronous ensembles facilitated temporal association among place cells representing diverse features of spatial memory.This plastic network, driven by synchronous ensembles, may contribute to the stabilization of place cells, establishing place fields that effectively tile the environment.

Results
To investigate the temporal relationships between neuronal activities during novel exploration, we simultaneously recorded many neurons as animals explored a new environment for the first time.
To achieve this, we employed voltage imaging in conjunction with an air-lifted plastic track that allowed mice to explore an environment while remaining head-fixed under a microscope (Fig. 1A).
To ensure a genuinely novel experience, all pre-training and habituation were performed in a separate room distinct from the one where the imaging experiments were conducted.On the day of imaging, the mice were introduced to the recording room for the first time and initially confined to a specific corner of the track (Fig. 1A top view).Subsequently, as the imaging session commenced, the confinement was lifted, granting mice the freedom to explore the track while imaging was conducted.
For voltage imaging, we expressed the voltage indicator Voltron2 29 in CA1 pyramidal cells (CA1PCs), allowing us to measure both suprathreshold and subthreshold membrane potentials from multiple CA1PCs (14±4 cells imaged per field of view (mean±s.d.) and, in total, 71 cells imaged from 5 fields of view in 5 mice; Fig. 1B).Simultaneously, we monitored the animals' positions and speed within the track while recording the local field potential (LFP) from the contralateral side of the hippocampus.
The mean firing rates of cells ranged from 2.3 to 4.3 Hz (25 th -75 th percentiles) with a median of 3.2 Hz (n=71 cells, Fig. S1A).Additionally, most CA1PCs exhibited elevated mean firing rates during immobility relative to locomotion, and their firing rates showed a negative correlation with the animals' speed (Fig. S1B and S1C), consistent with previous research 30 .

Synchronous ensembles among many CA1 pyramidal neurons
Figure 1C shows the fluorescence traces of all neurons in a session as an example.Instances of synchronous activity, where many neurons emitted spikes within a narrow time window, were frequently observed (Fig. 1C).To investigate synchronous activity within the neuronal population, we selected a reference cell and counted the number of spikes across all other cells that were aligned with the spikes of the reference cell.This approach yielded a grand average crosscorrelogram (CCG) capable of elucidating the timing of spikes from the reference cell relative to the combined spikes of the rest of the population.Notably, the grand average CCG exhibited heightened spike counts around zero lags, unlike flattened counts calculated from randomly selected cells of different sessions (Fig. 1D and 1E).The full width at half maximum (FWHM) of the peak in the grand average CCG measured 23±14 ms (mean±s.d., n=71 cells from 5 sessions; Fig. 1F), indicating the timescale of the population synchrony.Furthermore, pairwise CCGs of many cell pairs showed significant peaks compared to jittered data (percentage of significant pairs: 63%, median, n=497 pairs, Fig. S2A and S2B).Among pairs with significant peaks, the absolute values of the peak lags ranged from 0.8 to 4.3 ms (25 th -75 th percentiles) with a median of 2.1 ms, and the FWHM of the peaks ranged from 20 to 46 ms (25 th -75 th percentiles) with a median of 30 ms (n=315 pairs, Fig. S2C and S2D).These results highlight the synchronous spiking between neurons on the millisecond timescale.
To systematically reveal individual synchronous events, we counted the number of spikes from all simultaneously recorded neurons within sliding windows of 25 ms.To compare the summed spikes with controls, we randomly jittered the spike trains to perturb spike timings while maintaining spike rates.We identified moments of population synchrony when spike sums exceeded the average of the jittered spike sums plus four standard deviations (Fig. 1C).Using the same criterion for event detection, we observed over a 7.8-fold increase in synchronous events in original data compared to jittered controls (mean event rate: 0.94±0.17Hz for the original data, 0.12±0.01Hz for the jittered data, n=10 segments, p=0.002,Wilcoxon signed-rank test; Fig. 1G).Furthermore, we calculated the percentage of neurons participating in these synchronous events to examine the synchronous ensemble sizes.The ensemble sizes ranged from 32% to 53% (25 th -75 th percentiles) with a median of 42%, which were larger than the synchronous ensemble sizes associated with ripples 14 (Fig. 1H).
These results demonstrate synchronous ensembles of CA1PCs engaging many neurons.

Synchronous ensembles during locomotion and immobility of novel exploration
The hippocampus exhibits state-dependent activities when rodents are engaged in locomotion and immobility 30,31 .In novel exploration, CA1PCs showed synchronous spiking during locomotion and immobility (Fig. 2A).To investigate whether these synchronous activities differed between these behavioral states, we compared grant average CCGs and synchronous ensembles under these conditions.During both immobility and locomotion, grant average CCGs showed prominent peaks compared to jittered data (Fig. 2B).Moreover, synchronous ensembles were rich in both immobility and locomotion periods (Fig. 2A, B, and D).Nevertheless, the FWHMs of grant average CCGs were broader in the immobility group compared to the locomotion group (Fig. 2B and C).Synchronous events occurred more frequently during immobility compared to locomotion (Fig. 2D).Additionally, ensemble sizes were significantly larger in the immobility group compared to the locomotion group (Fig. 2E).Taken together, with differences in sizes and kinetics, there were synchronous ensembles during both immobility and locomotion periods of novel exploration.(E) Boxplot of ensemble sizes for synchronous ensembles occurring during immobility (red) and locomotion (blue) (median ensemble size: 47% for immobility, n=446 events, 32% for locomotion, n=313 events, p<0.001,Wilcoxon rank-sum test).***p<0.001

Synchronous ensembles occur outside ripple episodes
CA1PCs exhibit synchronous activities when the hippocampal network emits ripple waves 8,14 .To test whether there is a co-occurrence of synchronous ensembles and ripples, we first detected ripples from LFP recordings.Ripples were detected in three of the five recording sessions, and all occurred during immobility (mean ripple rate: 0.04±0.02Hz during immobility, 0 Hz during locomotion).In the two recording sessions where we did not detect any ripples, we verified the recording quality of the LFP signal by running multiple tests after the recording sessions.Ripples were identified in the same animals during quality tests, indicating that the absence of ripples during novel immobility in the recording session was not due to the deterioration of LFP recordings (Fig. S3).
To visualize both ripples and synchronous ensembles, we plotted voltage traces of neurons alongside simultaneously recorded ripple oscillations.It was typical for synchronous ensembles to occur far away from ripple episodes (Fig. 3A).To delve into the relationship between neuronal activities and ripples, we aligned traces of ripple power with population synchrony and ripples.In a recording session where 64 synchronous ensembles and 12 ripples were detected during immobility, the LFP power at ripple frequency (120-240 Hz) exhibited no discernable peaks within any of the synchronous events (Fig. 3B, left upper and middle panels).Nevertheless, the same LFP power displayed substantial peaks during every ripple event (Fig. 3B, right upper and middle panels).A striking contrast between synchronous events and ripples was also evident when spiking probabilities during these events were examined.During population synchrony, the mean spiking probability averaged across all cells was high, while the spiking probability was almost zero during ripple events (Fig. 3B lower panel).In the three sessions where ripples were identified, we calculated the percentages of ripple events coinciding with synchronous ensembles and vice versa.
Remarkably, there was no co-occurrence of ripples and synchronous ensembles (Fig. 3C).
Furthermore, we quantified ripple-modulated spiking by calculating the ratio of the difference in mean firing rates during in-ripple and out-ripple periods to the sum of the mean firing rates during both periods.Indexes of most cells were negative, and a striking 85% of cells displayed ripple modulation indexes of -1, indicating complete suppression of their spiking activities during ripples (Fig. 3D).Taken together, during novel exploration, synchronous ensembles involved many neurons with millisecond-synchronized spikes and occurred outside the time frames of ripples.

Synchronous ensembles are associated with theta oscillations
To investigate the network dynamics associated with synchronous ensembles, we aligned LFP traces triggered by the timings of synchronous ensembles.The average LFP traces of a representative session showed prominent theta oscillations around the timings of both immobility and locomotion population synchrony (Fig. 4A).Spectral analysis of the mean synchrony-triggered LFP traces during immobility and locomotion revealed theta frequency components of 4-12 Hz, with a slightly higher peak frequency in locomotion LFP compared to immobility LFP (Fig. 4B).Furthermore, we computed LFP theta modulation and identified preferred phases of synchronous ensembles.In line with the previous result, synchronous ensembles displayed a high level of modulation by LFP theta oscillation (modulation strength: 0.61±0.05during immobility and 0.74±0.04during locomotion, n=5 sessions).
Although the preferred phases varied from session to session due to differences in recording sites along the proximal-distal axis of the hippocampus, the timings of individual ensembles were consistently locked to the preferred phase of each session (Fig. 4C).These results establish a strong link between synchronous ensembles and LFP theta oscillation.
Subthreshold membrane voltage (subVm) is one of the critical parameters supporting the generation of action potentials.To investigate the subthreshold signals underlying population synchrony, we aligned subVm traces with the timings of synchronous ensembles and observed that both immobility and locomotion synchrony rode on a subVm waveform oscillating at theta frequency (Fig. 4D).To elucidate further the relationship between subVm theta oscillation and spikes involved in population synchrony, we calculated the subVm theta modulation and preferred phases of spikes.Spikes participating in both immobility and locomotion synchrony were strongly coupled to the subVm theta oscillation of neurons, with the mean preferred phase being in the latter half of the rising phase closer to subVm theta peaks (Fig. 4E).Conversely, spikes not participating in synchronous ensembles had weaker modulation strength compared to spikes involved in synchrony (Fig. S4A and B).Furthermore, the membrane voltages triggered by these two categories of spikes showed a significant difference in the hyperpolarization phase of the theta oscillation.Synchronous spikes were situated within cycles of theta oscillations featuring more hyperpolarized troughs than spikes outside synchronous ensembles (Fig. S4C and D).Thus, compared to spikes not participating in synchronous ensembles, synchronous spikes showed a more robust modulation by theta oscillation of membrane voltage during immobility and locomotion in the context of novel exploration.
Notably, phase locking of spikes to their subVm theta oscillation and the synchronous spikes among many neurons suggest that subVms of different neurons would be correlated at the theta frequency.
To explore the possibility, we divided the 180-second subVm traces into 1-second segments with 50% overlap and calculated the cross-correlation and magnitude-squared coherence function for each pair of cell segments.Segments were sorted into the immobility or locomotion group based on the animals' speed during each segment (kept below 1 cm/s for immobility and above 3 cm/s for locomotion for more than 90% of the time).In total, we analyzed 511 cell pairs from 5 sessions.Indeed, the cross-correlation of subVm between cell pairs revealed a high correlation at zero lag and periodic modulation of the correlation at theta frequency (Fig. 4F).Furthermore, the subVm theta coherences were increased in both groups (immobility: 0.50, locomotion: 0.40, median, n=511 pairs) and were negatively correlated with soma distances (immobility: -0.46, locomotion: -0.48, n=511 pairs, Fig. 4G).Taken together, during novel exploration, CA1PCs generate synchronous activity associated with theta oscillation and exhibit correlated and theta-coherent subVms.

Synchrony between place cells with distinct place tunings
When animals explore a novel maze, spatially tuned spiking activity can form within a few minutes 32,33 .However, how synchronous ensembles organize their spatially tuned activities during novel exploration remains to be determined.Synchronous ensembles, generating spikes coincidently in short intervals, might display correlated spiking at longer time windows that match behavioral timescales of exploration, potentially leading to shared place responses.On the other hand, CA1PCs are interconnected through inhibitory interneurons [34][35][36] .Modulation of activities in inhibitory interneurons by some place cells may influence the activities of other place cells, resulting in divergent spatial tunings 32,37,38 .
To compare the spatial tunings of synchronous cell pairs, we first calculated the spatial tuning curves of individual neurons by computing the mean firing rates in every spatial bin.On average, 40% of cells displayed selective spatial tunings of their spiking activities and were qualified as place cells 39 (Fig. 5A).Among place cell pairs, some showed similar spatial tunings, while others did not (Fig. 5B).For instance, in an illustrative session depicted in Fig. 5B, the seventh and eighth place cells had highly similar spatial tunings with a correlation coefficient as high as 0.7.In contrast, the fifth and tenth place cells exhibited vastly different spatial tunings with a correlation coefficient as low as -0.5.
We further explored the relationship between the similarity of spatial tunings and synchronization strength among pairs of place cells.We measured synchronization strength as the peak of the CCG normalized by the averaged jittered spike count within the same bin as the CCG peak.We segregated spikes based on these behavioral states to accommodate differences between locomotion and immobility and calculated the corresponding CCG and synchronization strength.
During locomotion, we observed a robust negative correlation between synchronization strength and the similarity of spatial tunings among cell pairs.In other words, cell pairs with more precisely co-active spikes during locomotion exhibited more distinct place-tuning profiles (Fig. 5C and D).This anti-correlation between synchronization strength and place tunings indicates coordination between place cells' temporal and spatial coding.On the other hand, synchronization strength during immobility showed little correlation with the similarity of spatial tunings among place cell pairs, suggesting that correlated activities at the millisecond timescale do not extend to slow, behavioral-relevant timescales (Fig. S5).Thus, place cells with distinct place fields are linked by synchronous activity during novel locomotion.

Discussion
Our findings reveal the presence of synchronous ensembles comprising a substantial number of CA1PCs during both locomotion and immobility in a novel environment.These ensembles concurrently engage neurons representing diverse aspects of the environment and are rarely observed during ripple events.Instead, they closely align with LFP and intracellular theta oscillations.Our data demonstrate theta-associated synchronous ensembles during spatial memory acquisition, coordinating numerous CA1 place cells that transmit information about different segments of the environment.The correlation between observed population synchrony and theta oscillations is intriguing.Theta oscillations are typically associated with the sequential activation of neurons over time, resulting in reduced neuronal synchrony 22 .However, theta oscillations come in different types, each characterized by distinct pharmacological properties and behavioral correlates [40][41][42] .For example, type 1 theta, referred to as translational theta, occurs during voluntary movements and is sensitive to N-methyl-D-aspartate receptor (NMDAR) blockers.On the other hand, type 2 theta, known as attentional theta, is blocked by muscarinic receptor antagonists, emerging during states of arousal or attention, such as entering a new environment [43][44][45] .
During theta oscillations, cholinergic neurons in the medial septum excite downstream CA1PCs, leading to increased firing rates and membrane potentials [46][47][48] .Given the widespread influence of cholinergic inputs on numerous CA1PCs, theta-coupled cholinergic inputs may drive depolarization and firing across many CA1PCs.Additionally, they could enhance the likelihood of synchronicity.Furthermore, GABAergic neurons in the medial septum, activated during theta oscillations, could activate interneurons in the CA1 region 42,49,50 .These CA1 interneurons, in turn, have the capability to entrain the activities of pyramidal neurons at both sub-and suprathreshold levels, thereby promoting synchronization among pyramidal neurons 51,52 .In summary, cholinergic and GABAergic neuron activation during theta waves may contribute to the excitation of CA1PCs and the consequent increase in their synchronicity.
Theta oscillations have long been implicated in memory acquisition.Specifically, theta power correlates positively with learning performance [53][54][55] .Perturbing generation of theta waves leads to impairment in memory acquisition [56][57][58][59][60] , while electrical stimulation restoring theta rhythms rescues learning performance 61,62 .Furthermore, increased spike-theta coherence correlates with better memory, and stimulations that boost theta phase-locking of spikes enhance memory [63][64][65] .Despite abundant evidence supporting a link between theta oscillations and memory, the precise network mechanism by which theta oscillations support memory acquisition remains unclear.Theta oscillations are hypothesized to link spatially distributed neurons into functional ensembles to support memory acquisition 13 .The identified synchronous ensembles support the hypothesis, providing a network substrate that links theta rhythms to the initial stage of memory acquisition.
Previous reports of CA1 synchronous ensembles occur predominantly during ripple oscillations 8,14,17 .However, we found only a few ripple events in the initial minutes of entering a new environment, even when animals are not moving.During these events, CA1PCs show decreased spiking activities, and they display synchronous firing outside ripple episodes (Fig. 3).
Different from the ripple-associated synchronous ensembles described previously, the synchronous ensembles we observed involve larger populations of neurons spiking synchronously in narrower time intervals and are associated with theta oscillations.The absence of recorded ripple-associated synchrony in our study may be attributed to elevated arousal with prominent theta oscillations even during immobility, potentially suppressing ripples 66 .Additionally, the deep-layer CA1PCs imaged in our study are known to show decreased activities during ripples, contributing to their lack of rippleassociated synchrony 67 .The CA1 network may generate multiple types of population synchrony, with ripple-associated synchrony facilitating memory consolidation, while the newly identified theta population synchrony supports the initial stage of memory acquisition.
Although CA1PCs are known to exhibit weaker recurrent connectivity than that of CA3 pyramidal neurons, CA1PCs did communicate through monosynaptic connections 68 .These connections can be dynamically adjusted by the spike-timing-dependent plasticity mechanism [69][70][71] , and therefore could be affected by the transient population synchrony.In addition, CA1PCs are known to communicate through inhibitory interneurons.Multiple pyramidal neurons converge onto a single interneuron, and individual connections are often weak and unreliable 35,72,73 .This connectivity scheme requires multiple pyramidal neurons spiking synchronously within the time window of synaptic integration to effectively activate postsynaptic neurons 35 .Furthermore, population synchrony among CA1PCs may propagate to downstream areas, synchronizing neurons outside the hippocampus.With their large ensemble sizes, these synchronous ensembles may synergistically convey relevant information or reorganize the connectivity of the neuronal networks.
Prior studies in sensory systems have commonly revealed that neurons with synchronous activities typically share similar sensory responses 74,75 .However, the synchronous ensembles we have identified often encompass neurons with distinct preferences for place fields.Pairwise synchrony demonstrates a negative correlation with place field overlap (Fig. 5).These findings indicate that synchrony does not necessarily imply similar tunings between neurons.Furthermore, these synchronous ensembles involve place cells encoding different spatial information.Recognizing the crucial role of neuronal synchrony in binding distributed neurons in the brain 3,5 , population synchrony may serve as a mechanism to integrate diverse features of the same environment into a cohesive mental map.

In-utero virus injection
Time-pregnant mice on an embryonic day 14.5 were anesthetized with isoflurane (induction:4-5%; maintenance:1-3%) before surgery.The animals were placed on a heating pad in a supine position to maintain body temperature.Aseptic procedures were implemented to maintain sterile conditions during the surgery.Uterine horns were exposed one at a time using spoons and fingers.Warm and sterile phosphate-buffered saline (PBS) was used to rinse the uterus to prevent it from drying out.
Micropipettes loaded with CamkII-cre virus solution were used to inject 0.2 uL of virus suspension into the left side of the lateral ventricle of each embryo.The uterine horn was then gently returned to the abdominal cavity.The exact process was repeated to the other uterine horn.After the surgery, ketorolac (6mg/kg) and cefazolin (1g/kg) were administered for two days to minimize pain and inflammation.

Cranial window and cannula implantation
The offspring of the mice that had undergone in-utero injection were subjected to chronic hippocampal window surgery when they were between 2 and 4 months old.The animals were initially anesthetized using isoflurane (induction:4-5%; maintenance:1-3%).Topical anesthesia was applied by administering 0.5% lidocaine to the wound margins.After achieving deep anesthesia, an incision was made in the skin, and a circular section of the skull was removed, centered 2 mm caudal and 1.8 mm left to the bregma.Using 30-gauge needles and forceps, the dura was removed from the exposed area, and cortical tissue within the craniotomy was aspirated.A fine injection pipette (tip diameter 10-60 um) was used to inject AAV2/1-CAG-flex-Voltron2-ST (2.7x10 12 GC/ml, a courtesy gift from Dr. Eric Schreiter and the GENIE team at HHMI Janelia Research Campus) into the exposed regions at a depth of 200 μm (up to six injection sites and 100-200 nL of viral suspension).An optical chamber was constructed by placing a cannula with a cover slip attached at the bottom over the craniotomy and sealing it with dental acrylic or C&B Metabond (Sun Medical).
A custom-built titanium frame was then cemented to the animal's head using dental acrylic or C&B Metabond.Mice received ketorolac (6mg/kg) and cefazolin (1g/kg) for two days following surgery to minimize pain and inflammation.

Behavioral training
After at least two weeks of recovery from the window surgery, the mice underwent behavioral training to ensure they were calm and attentive in the test environment.The initial training phase involved acclimating the mice to head fixation and treadmill running, which took place over 3-5 days in a separate room distinct from the recording setup.Following this training, the imaging experiments were conducted.On the day designated for imaging, the mice were introduced to the recording room for the first time just before the imaging session.During the imaging experiments, the mice were securely held in a head-fixed position beneath the microscope and on an air-lifted plastic track that rested on an air table (AirLift, Neurotar; Fig. 1Aa).The track was adorned with various shapes of signs to help the mice navigate the track.Subdued blue lighting was provided to illuminate the track.Before the initiation of imaging, the mice were confined in a corner of the track using gates.Subsequently, the gates were opened upon the start of imaging, allowing the mice to explore the new environment during their initial laps (Fig. 1Ab).The Mobile HomeCage tracking system (Neurotar) was used to track the mice's position and speed.During the acquisition of image frames, TTL pulses were sent by the high-speed camera to the Mobile HomeCage tracking system to facilitate data alignment.

Voltage imaging
Imaging was performed after treadmill training.JF552-HaloTag ligand 76 (a courtesy gift from Dr. Luke Lavis) was first dissolved in DMSO (Sigma) and then diluted in Pluronic TM F-127 (P3000MP, Invitrogen) and PBS to achieve a final concentration of 0.83 mM of JF552-HaloTag ligand.The solution was then injected intravenously through the retro-orbital sinus.Imaging sessions were initiated 3-5 hours after the injection of the JF552-HaloTag ligand.Fluorescence sensors were excited using a 532-nm laser (Opus 532, Laser Quantum) with an excitation filter (FF02-520-28, Semrock), and the emitted light was separated from the excitation light using a dichroic mirror (540lpxr Chroma) and passed through an emission filter (FF01-596183 Semrock).A 16X, 0.8 NA objective (Nikon) was used to collect the emission light which was then imaged on a CMOS camera (DaVinci-1K, RedShirt) with a 50-mm camera lens (Nikkor 50mm f1.2, Nikon) as the tube lens.Images were acquired using Turbo-SM64 (Sci-Measure) at 2kHz with a resolution of 190 x 160 pixels, corresponding to a field of view of 1.4 x 1.2 mm.The number of frames in an image session was set at 360,000, corresponding to a duration of 180 seconds per session.Imaging depths ranged between 70 and 170 μm from the window surface, where the CA1 pyramidal neurons were located.Time-lapse images were collected, and image stacks of the same field of view along the zaxis were acquired.The image stacks consisted of 100 plans separated by two μm, covering the depth from the window surface to 200 um from the surface.

LFP recording
The LFP signal from the contralateral CA1 region of the hippocampus was simultaneously recorded during voltage imaging.To implant the LFP electrode, a small craniotomy was performed at the dorsal CA1 coordinate (2mm caudal and 1.8 mm right to the bregma).A tungsten electrode (#100211, 38 μm in diameter, polyimide insulated, California Fine Wire) was inserted into the dorsal CA1 region, and the wire and pins were cemented in place with dental acrylic.The electrical signal was amplified and filtered (1-1kHz) using a DAM80 amplifier (Word Precision Instruments).
The amplified signal was acquired by an I/O device (National Instruments USB-6341) and recorded using WaveSurfer (Adam Taylor, HHMI Janelia Research Campus) at 10 kHz during implantation and TurboSM64 (RedShirt) at 8 kHz during imaging.

Voltage imaging preprocessing and spike detection
Fluorescence intensities were corrected for brain movement using rigid registration.Regions of interest (ROIs) were manually selected by grouping pixels that cover individual somata.The fluorescence intensities of individual neurons were calculated by averaging the fluorescence intensities of pixels from the same ROIs.Bleaching was corrected by calculating the baseline fluorescence (F0) at each time point as an average of the fluorescence intensities within ±0.5 s around the time point.The dF/F was calculated as the F0 minus the fluorescence intensity of the same time point divided by F0.Positive fluorescence transients were detected to identify spikes from the high-passed dF/F traces created by subtracting the dF/F traces from the median-filtered version with a 5-ms window.To simulate the noise of recordings, high-passed dF/F traces were inverted, and the amplitudes of the transients detected from the inverted traces were used to construct a noise distribution of the spike amplitudes.A threshold was set by comparing the amplitudes of the detected transients with the noise distribution of the spike amplitudes to minimize the sum of type I and type II errors.Spikes were first detected when transients were larger than the threshold.Then, spike amplitudes smaller than half of the top 5% spike amplitudes were excluded.The signal-to-noise ratio (SNR) was calculated for each neuron as a ratio of the averaged spike amplitudes over the standard deviation of the high-passed dF/F traces, excluding points 2 ms before and 4 ms after each detected spike to estimate the quality of the recordings.The crosstalk between ROIs was routinely checked by examining the refractory periods of neurons in autocorrelograms.Only neurons meeting the following criteria were included: (1) SNR larger than 5, (2) full width at half maximum of the spike waveform longer than 0.8 ms, (3) mean spike rates higher than 0.1 Hz, (4) distances between soma pairs at least 70 μm.Sessions with at least nine neurons meeting the selection criteria were used for further analysis.Based on these criteria, we included five sessions containing 9, 11, 13, 19, and 19 neurons.

Behavioral states of locomotion and immobility
The periods of locomotion were defined as instances when the animals' speed exceeded 3 cm/s, while periods of immobility were determined as instances when the animals' speed fell below 1 cm/s.

Mean firing rates during locomotion and immobility
To calculate the mean firing rates during locomotion, we counted the number of spikes during locomotion periods and divided this number by the total duration of locomotion.Similarly, for mean firing rates during immobility, we calculated the number of spikes that occurred during immobility periods and divided this number by the total duration of immobility.

Correlation between instantaneous firing rate and animal speed
To estimate the instantaneous firing rates of individual neurons over time, we convolved their spike trains with a Gaussian window of 250 ms.Subsequently, we calculated the Pearson correlation coefficient between these instantaneous firing rates and the animal's speed for each neuron.

Grand average cross-correlogram (CCG)
Grand average CCGs were generated by constructing histograms of relative spike timings between spikes of a reference cell and spikes of all other neurons in the same session as the target cell population.Histograms were binned using 1-ms time bins.Spike counts were normalized by the number of reference spikes times the number of all other neurons.An equal number of cells from different sessions were randomly selected to form the shuffled target cell population to assess the statistical significance of the CCG peaks.Subsequently, grand average CCGs were computed using shuffled spike trains for comparison.Grand average CCGs were calculated using all spikes in the 180s recording periods, subsets of spikes during immobility periods (immobility grand average CCGs), and subsets of spikes during locomotion periods (locomotion grand average CCGs).

Detection of the population synchrony
To assess population synchrony, we counted the number of spikes from all neurons within a sliding window of 25 ms.To test the significance of the synchrony, we generated surrogate data by jittering spike timings within a ±75-ms window.By comparing the spike counts between the original and jittered populations, we determined population synchrony when the spike count was higher than the mean plus four standard deviations of the jittered spike counts.To estimate synchronous event rates, we divided the entire 180-s recordings into halves and calculated the event rate in each of the 90-s segments.Additionally, we quantified the ensemble sizes by counting the percentage of participating neurons in each synchronous event.

Pairwise cross-correlogram (CCG) of neuronal pairs
To compute the CCG, we first determined the time difference between spikes in the target and reference neurons and then binned these values into 1-ms time bins.CCGs were only computed for pairs with more than 100 counts within the CCG window of ±500 ms to ensure reliable correlation.
We defined the peak of the CCG as the local maxima within ±30 ms of lag.To assess the significance of cross-correlations, we generated surrogate data by jittering the spike times of the target neuron within a ±75 ms window.We computed the CCG peak for a thousand iterations and calculated pvalues by comparing the percentile of the peak in the null distribution of the jittered peak values.
The synchronization strength was estimated as the ratio between the original CCG peak and the mean spike count of the same bin as the original CCG peak averaged across the jittered histograms.
For display purposes, the CCGs were smoothed using a 5-point moving average.CCGs were calculated using all spikes in the 180-s recording periods, subsets of spikes during immobility periods (immobility pairwise CCGs), and subsets of spikes during locomotion periods (locomotion pairwise CCGs).

LFP ripple analysis
To detect ripples, we performed band-pass filtering of the LFP signal between 120 and 240 Hz, followed by computing the envelope using the absolute values of the Hilbert transform, which was then low-pass filtered at 20 Hz.The start and end times of ripples were identified by setting the upper and lower thresholds at the mean plus 7 and 3.5 times the standard deviation of the envelope, respectively.For a ripple event to be included, three conditions had to be met: (1) values within the event were higher than the lower threshold, (2) at least one value exceeded the upper threshold, and (3) the minimum duration of the event was 30 ms.The start and end times of a ripple event were defined as the positive and negative crossings of the lower threshold, respectively.We defined in-ripple periods as the time between the start and end of detected LFP ripple events, while out-ripple periods were periods outside the in-ripple periods.The envelope peak values of the detected ripple events were used as the time of ripple occurrence.These timings were utilized as trigger timings to calculate averages triggered by ripples.Two co-occurrences were quantified: the percentages of LFP ripple oscillations that occurred with synchronous ensembles and the percentages of synchronous ensembles that occurred with LFP ripple oscillations.

Ripple modulation index
We utilized the ripple modulation index to assess changes in firing rates during ripples compared to periods outside ripples.This index was computed as the ratio of the difference in mean firing rates during in-and out-ripple periods to the sum of the mean firing rates during both periods.Specifically, we first calculated the mean firing rate during in-ripple periods and the mean firing rate during out-ripple periods.Next, we subtracted the mean firing rate during out-ripple periods from the mean firing rate during in-ripple periods and divided the result by the sum of the mean firing rates during both periods.The resulting ripple modulation index indicates the magnitude and direction of the firing rate modulation during ripple compared to periods outside ripples.

LFP traces triggered by population synchrony and analysis
The midpoints of the synchronous event intervals were utilized as triggers to align LFP traces.These traces were aligned within a ±1-second window around the trigger time points.To calculate the spectral density functions of the aligned LFP traces, we performed a 16,384-point fast Fourier transform of the 2-second LFP traces.The power spectra were then estimated as the squared absolute values of the Fourier coefficients.Ripple power was calculated as the sum of the power distributed between 120 and 240 Hz.To calculate theta modulation strength and preferred angles of the synchronous ensembles, LFP was first filtered within the theta frequency range.Then, the phase φ() and the instantaneous amplitude () of the filtered LFP were computed using the Hilbert transform.A vector   = (  ) φ(  ) was assigned to each synchronous ensemble that occurred at time   .The modulation strength and the preferred phase angle were determined as the absolute value and the phase angle of the summed vector over all ensembles, respectively.Modulation strengths were normalized by the total length of all vectors.

Subthreshold membrane voltage (subVm)
To compute the subVm of individual neurons, we began by determining the difference between the raw dF/F signal and the high-pass version of dF/F.Next, we calculated the spike threshold for each cell by identifying the voltage value corresponding to the peak of the first derivative of the spike waveforms.Any fluorescence values in the slow dF/F time courses that surpassed the spike thresholds were linearly interpolated.

SubVm traces triggered by population synchrony
The midpoint of the time intervals, during which synchronous ensembles were detected, served as the reference points for aligning fluorescence traces within a ±300 ms window around those reference points.To eliminate any interference from membrane potential fluctuations associated with spikes, we excluded aligned traces in cases where any spike occurred within the time intervals of the aligned traces.

SubVm theta modulation and phase preference of spikes occurred inside and outside the population synchrony events
The subVm was initially filtered within the theta frequency range.Subsequently, the phase φ() and the instantaneous amplitude () of the filtered subVm were computed using the Hilbert transform.Spikes were categorized into four groups: those occurring during or outside immobility synchronous events and those occurring during or outside locomotion synchronous events.Within each category, a vector   = (  ) φ(  ) was assigned to each spike that occurred at time   .
The modulation strength and the preferred phase angle were determined as the absolute value and the phase angle of the summed vector over all spikes, respectively.Modulation strengths were normalized by the total length of all vectors to facilitate comparison between neurons.

Spike-triggered fluorescence traces
We extracted segments of fluorescence traces using a ±300 ms time window centered on the spike timings.To examine variations in fluorescence waveforms triggered by spikes within and outside synchronous events, we categorized the fluorescence traces based on whether the spikes occurred within or outside these events.Subsequently, we performed pairwise comparisons of the fluorescence values from the same neuron, concentrating on spikes occurring during corresponding behavioral states.Neurons with fewer than four triggering events in any of these categories were omitted from the analysis.

Cross-correlation and coherence analysis to the subVm traces
To calculate cross-correlation and theta coherence of subVm between pairs of neurons during locomotion and immobility, we initially divided the 180-second subVm traces into 1-second segments with a 50% overlap.These segments were then categorized into the locomotion group if the animal's speed remained above three cm/s for more than 90% of the time within that segment.
Similarly, segments were sorted into the immobility group if the animal's speed remained below one cm/s for more than 90% of the time within that segment.Subsequently, we computed the cross-correlation and magnitude-squared coherence function of frequency for pairs of co-occurred segments belonging to a specific cell pair.Mean cross-correlations of individual cell pairs were averaged across segments that occurred in the same behavioral states (i.e., locomotion or immobility states).To estimate theta coherence, we averaged the values of the coherence function within the theta frequency range (4-12 Hz).Theta coherences from the same cell pair during the same behavioral state were pooled together, and the average was used as an estimate for the theta coherence of that cell pair during a particular behavioral state.Finally, Spearman correlation coefficients were calculated between the mean theta coherences of cell pairs and their soma distances.

Spatial analysis
We partitioned a 90-cm-long track into 36 spatial bins to analyze spatial tuning properties.For each cell, the spatial tuning curve was computed by determining the mean firing rate, defined as the number of spikes within the bin when the animal's speed exceeded three cm/s, divided by the total dwell times using the same speed threshold.The peak firing rates were identified as the maximal rate on the spatial tuning curve.Spatial selectivity was calculated as one minus the circular variance of the spatial tuning curve.Neurons were classified as place cells when their spatial selectivity exceeded 0.25, and peak firing rates exceeded 1 Hz.To assess the similarity of spatial tuning between pairs of neurons, Spearman correlation coefficients were calculated for the spatial tuning curves.To explore the relationship between levels of synchronization and spatial tuning similarity among pairs of place cells, Spearman correlation coefficients were computed between synchronization strengths of cell pairs and correlation coefficients of their spatial tuning curves.

Data analysis and statistics
Data analysis was performed using MATLAB (Mathworks, R2019b), and results were presented as standard error of the mean unless otherwise specified.Boxplots were used to depict the median, first quartile, and third quartile, with the middle line, the upper edge, and the lower edge of the box, respectively.The whiskers of the boxplots represented the 5th and 95 th percentiles of the distribution.

Figure 1
Figure 1 Population synchrony during novel exploration.

Figure 2
Figure 2 Comparison of synchronous ensembles between immobility and locomotion.

Figure 3
Figure 3 Synchronous ensembles occur outside ripple episodes.

Figure 4
Figure 4 Theta oscillations in the LFP and subthreshold membrane potential were linked to

Figure 5
Figure 5 Negative correlation between spatial tuning similarity and synchronization strength

Animal
Time-pregnant wild-type C57BL/6J female mice underwent in utero virus injection of CamkII-cre virus (105558-AAV1, Addgene) into the left side of the lateral ventricles.The resulting offspring were raised in a breeding room under controlled temperature and humidity conditions and a 12hour light/dark cycle (lights on from 7:00 to 19:00).The mice used in the experiments were between 12 and 18 weeks old at the time of the recordings.All surgical procedures, behavioral training, and recording protocols were approved by the NYCU Institutional Animal Care and Use Committee.