Abstract
The hippocampus is a mammalian brain structure that expresses spatial representations1 and is crucial for navigation2,3. Navigation, in turn, intricately depends on locomotion; however, current accounts suggest a dissociation between hippocampal spatial representations and the details of locomotor processes. Specifically, the hippocampus is thought to represent mainly higher-order cognitive and locomotor variables such as position, speed and direction of movement4–7, whereas the limb movements that propel the animal can be computed and represented primarily in subcortical circuits, including the spinal cord, brainstem and cerebellum8–11. Whether hippocampal representations are actually decoupled from the detailed structure of locomotor processes remains unknown. To address this question, here we simultaneously monitored hippocampal spatial representations and ongoing limb movements underlying locomotion at fast timescales. We found that the forelimb stepping cycle in freely behaving rats is rhythmic and peaks at around 8 Hz during movement, matching the approximately 8 Hz modulation of hippocampal activity and spatial representations during locomotion12. We also discovered precisely timed coordination between the time at which the forelimbs touch the ground (‘plant’ times of the stepping cycle) and the hippocampal representation of space. Notably, plant times coincide with hippocampal representations that are closest to the actual position of the nose of the rat, whereas between these plant times, the hippocampal representation progresses towards possible future locations. This synchronization was specifically detectable when rats approached spatial decisions. Together, our results reveal a profound and dynamic coordination on a timescale of tens of milliseconds between central cognitive representations and peripheral motor processes. This coordination engages and disengages rapidly in association with cognitive demands and is well suited to support rapid information exchange between cognitive and sensory–motor circuits.
Subject terms: Spatial memory, Hippocampus
Experiments in rats show that spatial representations in the hippocampus are closely coordinated with the forelimb stepping cycle, particularly when spatial decisions are approaching, and provide insight into how this synchronization supports information processing.
Main
As animals traverse environments, neural-population representations in the hippocampus often progress through a sequence of spatial positions, including locations behind, at and ahead of the animal’s actual position13–18. These sequences repeat at around 8 Hz, concurrent with the theta rhythm12,19, and are widely thought to reflect a ‘map’20,21 of the available navigational space that informs memory-guided behaviours4,6. Consistent with this idea, disrupting hippocampal activity or theta impairs performance in spatial memory tasks22–24, in which correct performance involves locomotion to one or more remembered locations. Thus, hippocampal representations can inform decisions19,25 that engage locomotor actions. Conversely, locomotor actions move the animal, and hippocampal spatial representations shift to the new position as animals move.
Current accounts posit that hippocampal computations represent a cognitive map or navigational options, but do not posit a link between the timing of these representations and the detailed structure of the locomotor processes (such as the timing of individual footsteps). Specifically, the hippocampus is known to represent higher-order locomotion-related variables, including position, speed and direction7,26,27, whereas spinal cord, brainstem and cerebellum circuits represent and drive individual limb movements8–11. The coupling of hippocampal representations to limb movements has not been examined, however, and there could be advantages in synchronizing activity across brain systems to facilitate information flow28.
We therefore simultaneously monitored neural activity in the dorsal hippocampal CA1 region and the stepping rhythm in rats running on transparent behaviour tracks. The resulting data included measurements of the frequency of the theta rhythm and the spiking activity of hippocampal neurons, including spatially selective ‘place’ cells, and a high-resolution undertrack video from which we extracted rats’ limb movements (Fig. 1a, Extended Data Fig. 1 and Supplementary Videos 1 and 2). We focus on data from rats (n = 5) learning and performing a hippocampal-dependent spatial memory task on a W-shaped track29,30 (Fig. 1b). Running trajectories on this task can be classified into outbound (rat running from the centre well towards either outer well) or inbound (rat running from either outer well towards the centre well), and a correct rewarded sequence corresponds to centre–left–centre–right–centre–left–centre–right, and so on.
Hippocampal theta and locomotion
Outbound trials require a memory of previous outer-arm choices and are more challenging to learn and perform correctly than inbound trials29. In addition, performance on outbound trials is more susceptible to disruption after hippocampal lesions24, suggesting that the behaviour of the animal has a higher hippocampal dependence for these trials. We therefore compared the relationship between hippocampal neural variables and stepping cycles across outbound and inbound trials. We restricted these analyses to the centre arm of the track (30–100 cm; see Methods) as rats approached the T-junction where, on outbound trials, they had to choose between the left and right arm.
We first examined the well-known correlation between running speed and the frequency of the theta rhythm27,31 in that part of the track (n = 61 total recording epochs across 5 rats). Notably, we found that this correlation was stronger on outbound trials than inbound trials (5 rats, 61 epochs, outbound versus inbound, average difference = 0.14, Kruskal–Wallis test: P = 7.4 × 10−6; see figure legends for individual animal P values; Extended Data Fig. 2a,b,f). We note that we, like others32, did not observe a consistent significant correlation between running speed and acceleration on either outbound or inbound trials, in contrast to another previous report33 (Extended Data Fig. 2c,f).
The differential coupling of movement speed and theta frequency as a function of trial type led us to wonder whether the detailed structure of locomotor processes might also be dynamically coupled to hippocampal theta rhythm—a possibility that has been raised in previous work34,35. As locomotion consists of cyclic movements of the limbs, we first asked how the overall frequency of these movements compared to the frequency of theta. We found that as the rats traversed the centre arm, each forelimb rhythmically moved at a peak frequency of around 4 Hz, together propelling the rats at a stepping frequency of around 8 Hz (Fig. 1c and Extended Data Fig. 3). This peak frequency matched the approximately 8-Hz peak frequency of the theta rhythm and was not different between inbound and outbound trials (5 rats, 61 epochs, average difference = −0.26 Hz, Kruskal–Wallis test: P = 0.11; Fig. 1d). This highly consistent peak frequency contrasted with previous results in head-fixed mice, in which a wider range of stepping frequencies was reported34, suggesting that head-fixation might introduce additional locomotor variability. Next, we directly assessed whether theta frequency was related to the instantaneous frequency of forelimb stepping and whether this relationship varied by trial type.
Here, again, we found a trial-type-specific coupling. There was a consistent positive correlation between theta and forelimb stepping frequencies on outbound runs (5 rats, 61 epochs, t-test of r values compared to 0: P = 4.8 × 10−16; Fig. 1e and Extended Data Fig. 2f), but no consistent correlation on inbound runs (5 rats, 61 epochs, t-test of r values compared to 0: P = 0.25; Extended Data Fig. 2f). Furthermore, the outbound correlations were significantly larger than the inbound correlations (5 rats, 61 epochs, average difference = 0.14, Wilcoxon signed-rank test: P = 3.3 × 10−8; Fig. 1f). These relationships could not be explained by differences in running speed (Extended Data Fig. 2g). Combined, these results showed that the theta rhythm was more closely coupled with movement speed and forelimb stepping frequency specifically during the more difficult outbound trials.
Synchronization in outbound trials
We then asked whether there was also a relationship between stepping and the hippocampal representation of space. Outbound runs on the centre arm of the w-track are known to strongly engage theta-paced representations that typically progress, on each cycle, from locations closer to the animal’s actual position toward possible future locations6,12–19, allowing us to ask whether this progression from current to future is synchronized with stepping.
We used a clusterless decoding algorithm36 to determine the location represented by hippocampal spiking activity at high temporal resolution (2-ms time bins; see Methods). We then calculated the offset between that estimate of ‘mental position’ and the actual position of the nose of the rat (see Methods) to create a distance metric (hereafter, ‘decode-to-animal distance’) that captures the deviation between represented and actual position34. We focused on the centre region of the track (60–100 cm) on outbound trials, as that region corresponds to the rat approaching the navigational choice point.
We then asked whether the decode-to-animal distance was related to the stepping cycle. The high-resolution pose estimation used in this study enabled us to estimate the times when the rat’s forelimbs first touched the track on each cycle (plant times; see Methods). To measure the relationship with ongoing steps, we used these plant times because these are distinct and identifiable reference points in the stepping cycle and correspond to periods of maximum cutaneous and proprioceptive input from the limbs to the central nervous system37,38. Here we limited our analyses to those epochs and times in which we could reliably decode the hippocampal representation (see Methods).
We found that the plant times of the left and right forelimbs corresponded to hippocampal representations of position close to the actual location of the rat (Fig. 2a–c and Extended Data Fig. 4a,b). In between these plant times, the hippocampal representation of position typically progressed towards possible future locations and then reset to the actual position of the rat in conjunction with the next forelimb plant (Supplementary Video 3). To quantify this relationship, we focused on theta sequences with an appreciable representation of future locations39 (that is, more than 10 cm ahead of the actual location of the rat’s nose; see Methods) and computed an epoch-wise decode-to-animal distance modulation score (Fig. 2c; see Methods) that captured the consistency of the synchronization between the hippocampal representations and forelimb plant times. We note that the epoch-wise average of the decode-to-animal distance trace (Fig. 2b) shows smaller values than 10 cm owing to variability in the temporal offset of the time of crossing beyond 10 cm across multiple plants. The measured distribution of epoch-wise modulation scores was greater than the modulation computed from a series of shuffled datasets in which the plant times on each trial were shifted by a value chosen from a uniform distribution spanning ±70 ms (4 rats, 24 epochs, observed modulation versus mean of shuffles for each epoch, 60–100 cm on w-track: t-test: P = 1.6 × 10−8; Fig. 2d).
This synchronization between plant times and theta sequences also manifested as a synchronization between plant times and the overall multiunit activity (MUA) levels in the hippocampus. In conjunction with rhythmic theta sequences, hippocampal neurons fire rhythmically, such that multiunit firing rates wax and wane on each theta cycle13. We computed the degree of modulation of MUA relative to plant times for each epoch and compared it with the mean of the modulation scores for the shuffled distributions (see Methods). As expected from the relationship between plant times and theta sequences, there was a highly significant temporal modulation of MUA and plant times (5 rats, 61 epochs, 60–100 cm on w-track: t-test: P = 3.9 × 10−7; Extended Data Fig. 4c).
We also analysed whether the prospective position represented after a left- or right-forelimb plant coincides with a left or right representation of space6 as the rat approaches the choice point (see Methods). We did not observe a consistent organization in our data (4 rats, 24 epochs, Kruskal–Wallis test: P = 0.24; individual animal P values: P (rat 1), 0.7; P (rat 2), 0.2; P (rat 3), 0.6; P (rat 5), 0.2). These results are consistent with previous work on the w-track6 that suggested that the left–right neural representations do not reflect the eventual choice of the animal and are instead consistent with navigational options available to downstream cortical and subcortical regions involved in action selection.
Dynamic coupling of space and steps
If the coordination between locomotor processes and hippocampal representations is specifically engaged at times of higher cognitive load, we would expect this relationship to be prevalent on outbound trials but not on inbound trials. We therefore examined this synchronization during the inbound runs on the centre arm of the w-track (Fig. 3a and Extended Data Fig. 5a,b).
Although we observed clear theta sequences on the inbound runs, we did not observe significant modulation of spatial representations relative to plant times during these periods. This was evident in individual examples (Fig. 3b) and in the distribution of the measured decode-to-animal distance modulation scores, which was not consistently different from the respective shuffled distributions (4 rats, 24 epochs, t-test: P = 0.08; Fig. 3c,d). These inbound scores were significantly smaller than those observed during outbound runs, indicating a low degree of synchronization between the plant times and decode-to-animal distance trace during inbound trials (4 rats, 24 epochs, mean modulation score outbound: 1.75; mean modulation score inbound: 0.27; Wilcoxon signed-rank test: P = 4.3 × 10−5; Fig. 3e). These differences could not be explained by a difference in the structure of theta sequences or single-cell phase precession between outbound and inbound task phases (Extended Data Fig. 6). Similarly, we did not find a significant modulation of hippocampal MUA by forelimb plant times during inbound runs (Extended Data Figs. 5c and 6), and the MUA modulation scores were significantly smaller for inbound than for outbound runs (5 rats, 61 epochs, mean modulation score outbound: 1.48; mean modulation score inbound: −0.13, Wilcoxon signed-rank test: P = 1.7 × 10−7; Extended Data Fig. 5c). Thus, our data indicate that stepping and hippocampal neural variables are synchronized dynamically according to task phase.
We then expanded these analyses to other regions of the track, including the outer arms and the regions just past the T-junction (Extended Data Fig. 7a). We reasoned that if the presence of a difficult upcoming choice modulated the synchronization between hippocampal spatial representations and locomotor processes, we would see clear evidence for synchronization on outbound trials before the choice point and little evidence for synchronization past the choice point. Conversely, on inbound trials, we might find evidence for synchronization in the outer arms or T-junction regions, but a lack of evidence for synchronization in the centre arm.
Our results were consistent with those conjectures. We compared the decode-to-animal distance across track regions and found that the most robust modulation was observed during outbound runs on the centre arm (Extended Data Fig. 7b). We also observed strong modulation of MUA at these times (Extended Data Fig. 7d). Furthermore, we found some evidence for decode-to-animal distance and MUA modulation on inbound runs on the T-junction arm—locations that also preceded a choice (decode-to-animal distance: t-test, P = 0.02; MUA: t-test, P = 0.04; Extended Data Fig. 7b–d).
Discussion
Our results reveal a notable synchronization between ongoing hippocampal spatial representations and the stepping cycle as animals approach upcoming spatial decisions. Previous work showed that various physiological rhythms (such as breathing, head-scanning, saccades and so on) could be coupled to hippocampal theta rhythms34,35,40–44; our findings demonstrate coupling of ongoing steps not only to hippocampal theta but also to MUA and the microstructure of spatial representations. This coupling is strongest as animals approach a decision point, and synchronizes the rhythms such that the hippocampal representation returns to a location close to the animal’s actual position at the time at which the forelimbs strike the ground.
This dynamic relationship is unlikely to reflect a direct drive from sensory inputs to the hippocampus or from the hippocampus to motor outputs. Specifically, the representation of space typically returned to a position close to the actual location of the animal before plant times (Fig. 2 and Extended Data Fig. 4), and there is no evidence for a direct hippocampal output to motor effectors. This relationship is also unlikely to reflect a dominant synchronizing drive from another sensory–motor system. Previous studies have documented dynamic coupling between hippocampal theta and the respiration and whisking rhythms35,43, which are themselves strongly coupled. However, this coupling is typically seen at frequencies outside the 7–9 Hz range45–47, in which stepping and theta are strongly synchronized. Furthermore, although theta and stepping frequencies both increase roughly linearly with speed (Fig. 1e), that is not the case for respiration and whisking48. Thus, the known properties of coupling between respiration or whisking rhythms and the hippocampus are not obviously consistent with these rhythms having a dominant role in driving the synchronization we observe.
We instead propose that the precise and dynamic coupling between stepping and hippocampal activity reflects a distributed mechanism that coordinates internal hippocampal representations about space (which rhythmically sweep into the future and then return to the animal’s location at theta timescales during behaviour) with ongoing locomotor processes (which provide the strongest sensory signals when the limb strikes the ground37,38), such that they concurrently reflect information about the actual position of the animal during plant times. Of note, in between consecutive plant times, the hippocampus often represents potential future trajectories. Such an organization28 is well suited to segregating information related to environmental sampling49 versus planning potential future trajectories6,50 across brain regions involved in decision-making on fast timescales51–53. Conversely, a lack of synchronization—as in inbound trials in the centre arm—may reflect a relative lack of engagement of hippocampal representations in guiding ongoing behaviour at these times29.
Our data also raise the possibility that previous results with regard to rhythmic medial entorhinal cortical neuronal coupling with speed54,55 (based on analyses of autocorrelograms at different running speeds) could reflect coupling between the rhythmic coding of location and the stepping cycle. In addition, our data complement work showing that a large proportion of the variance observed in neocortical activity during routine behaviours and decision-making tasks is related to movement56,57. However, although those reports identified static relationships on timescales of around 2–5 s, we found that locomotor processes are dynamically synchronized with ongoing cognitive representations in the hippocampus on timescales of tens of milliseconds. The existence of these precisely timed representations in the hippocampus—a structure anatomically distant from the sensory–motor periphery—demonstrates widespread coupling between movements, associated sensory inputs and higher-order cognitive representations.
This dynamic coupling may also exist across species. There is evidence for synchronization between saccades and the hippocampal theta rhythm in non-human primates40 and a relationship between button presses and hippocampal theta frequency coherence in humans58. Our findings raise the possibility of synchronization between hippocampal representations and movement across species, and further suggest that this synchronization would be engaged specifically at times at which hippocampal representations are important for storing memories or guiding behaviour.
In the context of evolution, the ‘bauplan’ of locomotion and its coordination with spinal and cortical circuits has been conserved over the course of evolutionary history, with marked similarities between present-day mammals and lampreys59,60, despite differences in major mammalian locomotor modes (for example, flying, quadrupedal or bipedal motion). Moreover, naturalistic behaviours are accompanied by a complex interaction between multiple sensory–motor processes, such as breathing, whisking, visual flow, stepping and so on, each with its own characteristic frequencies in a given species. Hippocampal representations of space have also been reported across multiple species61–64 but there are also known cross-species differences in the rhythmicity and power of theta oscillations (for example, some animals are reported to have theta only in bouts). We speculate that there could be coupling between spatial representations and sensory–motor processes across species, but that the specific nature of this coupling would depend on species-specific sensory–motor and cognitive infrastructure.
Methods
Experimental model and animals
Neural activity (cellular firing and local field potential) was recorded from the CA1 region of the dorsal hippocampus in five male Long-Evans rats (Rattus norvegicus; 5–9 months old, weighing 500–650 g) performing a spatial alternation w-track task6,29. Rats were housed in a humidity- and temperature-controlled facility with a 12-h light–dark cycle. Rats were housed with littermates before experimental manipulation and singly housed in enriched cages during training and food-restriction protocols. All experimental procedures were in accordance with the University of California San Francisco Institutional Animal Care and Use Committee and US National Institutes of Health guidelines.
Behavioural task and neural recordings
Rats were deprived of food to 85% of their baseline weight and pretrained to run on a linear track for liquid reward (sweetened evaporated milk). This training was done to familiarize the rats with reward wells. After the rats alternated between the two reward wells reliably, they were put back on complete food for at least one week before the implantation surgery. During the surgery, rats were implanted with microdrives66 containing 30 (3 rats), 24 (1 rat) or 16 (1 rat) independently movable 4-wire electrodes targeting the CA1 region of the dorsal hippocampus (all rats), polymer probes in frontal cortical areas (1 rat) and an optic fibre in the medial septum (1 rat). Only hippocampal data were analysed in this study. The hippocampal target electrodes were slowly advanced towards the pyramidal cell layer over two to three weeks. Before running on the w-track task (100 cm × 100 cm; track width 10 cm), four rats also ran on other dynamic foraging tasks in different rooms or contexts. The data presented in this paper are from eight to twenty 15–20-min run sessions during learning and performance on the w-track task (number of epochs per rat: rat 1 = 10; rat 2 = 17; rat 3 = 14; rat 4 = 12; and rat 5 = 8). The first epoch was excluded from decode-to-animal distance analysis as hippocampal place fields take around 5 min to stabilize in a new environment67. Each run session was interleaved with 15–20 min in an unrewarded rest box. Electrophysiological and video data were acquired using SpikeGadgets hardware and software (https://spikegadgets.com/trodes/, v.1.8.0). Running trajectories on the w-track were classified into outbound and inbound trials on different track regions, resulting in six different task phases during running: centre outbound; centre inbound; T-junction outbound; T-junction inbound; outer outbound; and outer inbound. Run periods for instantaneous speed and frequency analysis were defined using a velocity threshold of greater than 4 cm s−1, with a 250-ms buffer. Run periods for decode-to-animal distance and MUA trace modulation analysis were defined using a velocity threshold of greater than 10 cm s−1, with a 250-ms buffer.
Behaviour tracking and monitoring of the stepping cycle
Underfloor video monitoring at 125 frames per second was performed using wide-angle rectilinear lenses (Theia Technologies; SL183M) mounted on AVT Manta cameras (AVT-GM-158C-POE-CS; per-frame exposure time: 7.5 ms) on both the transparent linear tracks and the w-tracks (abrasion-resistant polycarbonate sheets, TAP Plastics). To ensure that each camera frame was correctly assigned to a corresponding electrophysiological recording time, we captured both the neural data and the position data in a common reference frame using the precision time protocol (PTP). To aid limb identification, the forelimbs of the rats were painted with a white body paint (SportSafe) that contrasted with the black hoods of the Long-Evans rats. The hindlimbs were painted with black body paint to contrast with their white underbelly. A machine-learning algorithm, DeepLabCut65 (v.2.0.5.1), was trained to track the distinct body parts of the rats, including the nose, forelimbs, hindlimbs and base of the tail. The training dataset included frames from different track portions during various phases of the stepping cycle in both outbound and inbound trials. The model was allowed to run for the maximum number of iterations until its performance reached asymptote. The output comprises of x–y position coordinates for each labelled body part corresponding to each camera frame, along with a likelihood estimate. Position estimates with less than 0.99 likelihood were estimated as the interpolated value of the remaining estimates smoothed with a Gaussian window of 0.01 s. The velocity of the nose was smoothed with a Gaussian filter of 0.15 s (filters compensated for group delay). The same model was used to estimate position for all of the rats. For position analysis, the nose position was used as the actual position of the rat to correspond closely with previous work that uses an LED on the microdrive for tracking.
Histology and recording-site assignment
In three rats, the left and right hippocampus was targeted at anteroposterior (AP): −4 mm, mediolateral (ML): ±2.6 mm; in one rat, the left and right hippocampus were targeted at AP: −3.8 mm and ML: ±2.6 mm; and in one rat only one hemisphere was targeted at AP: −3.72 mm and ML: +1.26 mm. A screw placed over the cerebellar cortex served as the global reference. Tetrode locations (four rats) were marked with electrolytic lesions after concluding the data acquisition. After a 24-h period to allow for gliosis, rats were perfused transcardially with 4% paraformaldehyde (PFA). The bottom of the brain was exposed, and the brain was left in 4% PFA overnight, after which the tetrodes were moved up, and the rest of the skull was removed. The brain was then transferred to a 30% sucrose solution for 5–7 days, sectioned into 50–100-μm slices and stored in 0.1 M phosphate-buffered saline with 0.02% (w/v) sodium azide. Sections were selected for Nissl staining to enable visualization of the locations of tetrode tips. Electrolytic lesion was not performed for one rat, but all subsequent steps were followed. We used the glial marker glial fibrillary acidic protein (GFAP) to localize these tetrodes.
Data analysis
Statistical approach
A central goal of our analytical approach was to measure the synchronization between two variables—the stepping cycle and the hippocampal physiology. Each cycle of these rhythms provides us with a meaningful measurement of their synchronization. We then combine these measurements across individual passes through locations within an epoch, with the null hypothesis that the two rhythms are not correlated, and thus that they start at arbitrary phases relative to one another on each pass. We can compare these measurements to shuffled measurements (see ‘Shuffling analysis’) to derive a single value for each epoch that represents the tendency, across all cycles and passes within that epoch, for the two variables to be synchronized. Using this approach, we have computed all our metrics on every epoch and tested whether this synchronization is consistently present across the epochs within and across rats. Correspondingly, each statistical result is reported both across epochs within a rat and across all rats. Significance values were adjusted for multiple comparisons by the Benjamini–Hochberg method at a false discovery rate of 0.05.
Spike sorting
Hippocampal spikes were sorted using MountainSort (https://github.com/LorenFrankLab/franklab_mountainsort_old)68, an automatic clustering algorithm. The output of the algorithm is individual clusters with quality metrics. The quality metrics that were used to plot accepted clusters in Fig. 1a were the signal-to-noise ratio (>2), isolation score (>0.90), noise overlap (<0.3) and a visual inspection for refractory period violations. Note that sorted spikes were used only for the illustration of spiking activity in Fig. 1a.
Power spectral analysis
Power spectral analysis was performed during run periods using Welch’s method, and each segment was windowed with a Hamming window. The result is the power spectral density in each frequency bin (frequency resolution: 1 Hz) normalized by the maximum power observed at any bin per epoch. For calculating the peak frequency, we use a minimum peak height of 0.9.
Instantaneous frequency, speed and acceleration analysis
Stepping and theta data were filtered (stepping: each forelimb data was smoothed and bandpass-filtered between 1 Hz and 6 Hz with roll-offs at 0.5 and 8 Hz; theta: hippocampal theta data were bandpass-filtered between 6 Hz and 12 Hz with cut-offs at 4 Hz and 14 Hz using an acausal filter) and Hilbert-transformed, and their instantaneous frequency was computed by estimating the average phase difference at each time bin between windows of t − 125 ms and t + 125 ms. The instantaneous speed and acceleration were computed similarly in windows t − 125 ms and t + 125 ms as the mean of the observed values.
Clusterless decoding analysis
Inputs to the model
We created an encoding model that captured the associations between spike waveform features and the rat’s position at each 2-ms time bin as before7. The waveform feature used was the peak amplitude of each spike waveform on each of the four channels of the tetrode. Spikes were detected from the 600 Hz–6 kHz filtered signal when the amplitude on any channel of a tetrode exceeded a 100-μV threshold. The position of each rat was determined by converting the 2D position of the rat’s nose on the w-track to a 1D position on the basis of distance along the track segments (centre arm, outer arm and T-junction arm). This linearization is done to speed up the decoding. All trajectories begin with 0 cm representing the centre well position, and 15-cm gaps are placed between the centre arm, left arm and right arms in 1D space to prevent the smoothing across adjacent positions from influencing non-overlapping neighbouring segments inappropriately. The code used for linearization can be found at https://github.com/LorenFrankLab/track_linearization.
The model
We used a clusterless state space model (see ref. 36 for details) to decode the ‘mental position’ of the rat. Decoding used a 20-μV Gaussian smoothing kernel for the spike amplitude features and an 8-cm Gaussian smoothing kernel for position. The state space model had two movement dynamics—continuous and fragmented—which allowed the hippocampal representational trajectory of the rat to move both smoothly and discontinuously through space. This allows us to capture the full range of possible hippocampal spatial representations. The continuous dynamic was modelled by a random-walk transition matrix with a 6-cm standard deviation and the fragmented dynamic was modelled by a uniform transition matrix. The probability of staying in either the continuous or the fragmented movement dynamic was set to 0.968, which corresponds to 62.5 ms of staying in the same movement dynamic on average, or roughly the duration of half a theta cycle. We have shown that the model is relatively insensitive to this choice of parameter7. Decoding was done using a causal algorithm with uniform initial conditions for both movement dynamics. A 2-ms time bin and 2.5-cm position bin were used to allow for high-resolution decoding. We used fivefold cross validation for decoding, in which we encoded the relationship between waveform features and position on four-fifths of the data and then decoded the remaining fifth of the data. This ensures that the spikes that are used for constructing a given encoding model are not also used for decoding the representation. We repeated this for each fifth of the data.
Outputs of the model
Posterior probability of position: the posterior probability of position is a quantity that indicates the most probable ‘mental’ positions of the animal based on the data. We estimate it by marginalizing the joint probability over the dynamics.
Highest posterior density: the highest posterior density (HPD) is a measurement of the spread of the posterior probability at each time bin and is defined as the posterior region that contains the top 50% of the posterior probability values. Using the top values, this measurement of spread is not influenced by multimodal distributions (whereas an alternative measure like the quantiles of the distribution would be). In this manuscript, we use the HPD region size—the total area of the track covered by the 50% HPD region—to evaluate the uncertainty of the posterior probability of position.
Decode-to-animal distance: the distance between the decoded position and the actual position of the animal is defined as the shortest path distance between the most likely decoded position (the maximum of the posterior probability of position) and the animal’s position at each 2-ms time bin. The shortest path distance was calculated using Dijikstra’s algorithm69 on a graph representation of the track, in which the most likely decoded position and the rat’s position were inserted as nodes on this graph.
Epoch inclusion criteria for decode-to-animal distance analysis
For analysing the modulation of the decode-to-animal distance trace around forelimb plant times, we included only those epochs in which we could reliably decode the position across multiple inbound and outbound runs. We estimated this by evaluating a decode quality metric as follows. First, for every run, we computed the mean of the highest posterior density values and the mean of the absolute distance of the decoded position from the current position of the rat. We labelled runs in which either of these values exceeded 50 cm to be ‘noisy’; that is, cases in which we could not reliably estimate the position of the rat. We then defined the decode noise metric (ranging from 0–1) as the proportion of the length of noisy data to the length of all the data. Those epochs in which the decode noise metric was less than 0.25 for each arm of the w-track, and in which the rat ran each arm at least 10 times, were included in the analysis.
Forelimb plant times
The absolute difference of position data was calculated to obtain the instantaneous velocity of each forelimb (that is, the stepping cycle; one value per camera frame). This stepping cycle was then low-pass-filtered to 6 Hz with a roll-off at 8 Hz to remove outliers and noise events. The stance and swing portions of the stepping cycle correspond to the times when the acceleration of the limb is the minimum and the maximum, respectively. An acceleration profile for each limb was created to identify peaks and troughs of stepping rhythm, which was used to define the start and end times of the stance and swing phases. Plant times were defined as the midpoint of 10–30% of the stance phase, and lift times were defined as the midpoint of 10–30% of the swing phase. These times correspond to the limbs of the rat fully touching or not touching the track’s surface. These plant times were validated with data from a rat running on a transparent track, in which we also used a 45-degree mirror to obtain the side view. We then manually annotated camera frames (blind to the plant times) when the individual fingers of a reference forelimb splayed fully, indicating starting load on the forelimb (‘fingersplay’ times, from the bottom track view), and camera frames when the reference forelimb first touched the surface of the track completely (‘touchdown’ times from the side mirror view). We then compared these manually annotated times to the ‘plant times’ detected by our algorithm (above) and found a close correspondence between these times (plant–fingersplay median offset, IQR = 0.008s, 0.016 s; number of plants = 114; plant–touchdown median offset, IQR = 0.008s, 0.008s; number of plants = 66; Extended Data Fig. 1 and Supplementary Video 2).
Step-representational content coupling
To measure the coupling of steps and the content of hippocampal representations, we first identified the peaks of the decode-to-animal-distance trace (minimum peak height 10 cm) during the outbound runs on the centre arm on the track, and then computed the represented position in windows of ±10 ms around the detected peak using the peak of the posterior in that time window. Thus, each such non-local representational instance was assigned to representing the centre (0), right (1) or left (−1) arm. Then, for each assigned non-local representation, we determined whether the preceding forelimb plant was from the right (1) or left (−1) forelimb. To ask whether there is a consistent organization between the parity of step and the content of internal hippocampal representation (for example, left plant followed by right representation, and vice versa or left plant followed by left representation, and so on), we included those runs that had at least two instances of non-local representation. Then we computed the proportion of runs in which we saw a step-representation alternation (that is, left plant followed by right representation, and right plant followed by left representation) and the proportion of runs in which we saw a step-representation correspondence (that is, left plant followed by left representation and right arm followed by right representation).
MUA
For detecting MUA events, a histogram of spike counts was constructed using 1.5-ms bins; all spikes greater than 100 μV on tetrodes in the CA1 cell layer were included. The MUA trace was smoothed with a Gaussian kernel (15-ms standard deviation).
Decode-to-animal distance and MUA modulation score
First, we calculated the forelimb-plant-triggered average of the decode-to-animal distance or MUA trace for each epoch in a time window of ±70 ms. Then, we computed the modulation score by calculating the sum of absolute deviations from the mean of the observed values in the decode-to-animal distance or MUA-triggered trace per epoch. To compare these raw modulation scores across task phases and epochs, we z-scored them using the mean and standard deviation obtained from the null distribution (description below) matched for observed forelimb plants per epoch per rat. All observed plants were included for MUA analysis. For the analysis of the decode-to-animal distance, we included only those sequences that engaged a mental exploration further ahead of the current position of the rat by at least 10 cm (ref. 39). Then, each forelimb plant was evaluated in a window of ±50 ms, and the goodness of the decode-to-animal distance trace was computed in this window by calculating the number of time bins with a highest posterior density greater than 50 cm. If these values exceeded a total of 10 ms, then those plants were excluded from analysis as we could not reliably estimate the structure of the decoded position adjacent to those plants.
Shuffling analysis
Plant times were randomly offset between −70 ms and 70 ms, 5,000 times, keeping the inter-event times intact. An event-triggered average of these shuffled times was computed to create the superset of the shuffled distribution data. Then a matched number of events (plants) as observed in the data were randomly selected 1,000 times per epoch to create a null distribution of shuffled modulation scores.
Quantification and statistical analysis
All analyses were performed using custom code written in MATLAB v.2020a (Mathworks) and Python v.3.6. Statistical tests used and significance values are provided throughout the text and in figure legends.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Online content
Any methods, additional references, Nature Portfolio reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code availability are available at 10.1038/s41586-023-05928-6.
Supplementary information
Acknowledgements
We thank members of the laboratory of L.M.F. for discussions and feedback over the course of the project; D. A. Astudillo Maya for animal care, S. Gu for recalculation of per-epoch MountainSort metrics; and A. E. Comrie, B. Mensh, C. Holobetz, D. Smith, E. Kish, L. Katona, M. Coulter, P. Somogyi and X. Sun for commenting on a previous version of the manuscript. This work was supported by the Life Sciences Research Foundation, the Simons Collaboration for the Global Brain, and Howard Hughes Medical Institute grants to A.J. and L.M.F.
Extended data figures and tables
Author contributions
Design and conception: A.J. and L.M.F. Experiments: A.J. and A.M. DeepLabCut model: A.J. and Y.M. PTP synchronization: T.J.D. and A.J. Observation: A.J. Clusterless decoding analysis: E.L.D. and A.J. Analysis: A.J. and L.M.F. Shared analysis code: A.J., E.L.D., D.R. and A.K.G. Surgeries and tetrode adjusting: A.K.G., J.A.G. and A.J. Writing: A.J. and L.M.F. Funding: A.J. and L.M.F. All authors commented on a previous version of the manuscript.
Peer review
Peer review information
Nature thanks Michael Hasselmo, Aman Saleem and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Data availability
All data used for this study are publicly available in the DANDI Archive at https://dandiarchive.org/dandiset/000410/draft/. Any additional information required to reanalyse the data reported in this paper is available from the corresponding authors upon request.
Code availability
All code used for the analysis of this data is publicly available at https://github.com/LorenFrankLab and https://zenodo.org/deposit/7615939.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
Abhilasha Joshi, Email: abhilasha.joshi@ucsf.edu.
Loren M. Frank, Email: loren.frank@ucsf.edu
Supplementary information
The online version contains supplementary material available at 10.1038/s41586-023-05928-6.
References
- 1.O’Keefe J, Dostrovsky J. The hippocampus as a spatial map. Preliminary evidence from unit activity in the freely-moving rat. Brain Res. 1971;34:171–175. doi: 10.1016/0006-8993(71)90358-1. [DOI] [PubMed] [Google Scholar]
- 2.Morris RG, Garrud P, Rawlins JN, O’Keefe J. Place navigation impaired in rats with hippocampal lesions. Nature. 1982;297:681–683. doi: 10.1038/297681a0. [DOI] [PubMed] [Google Scholar]
- 3.Dusek JA, Eichenbaum H. The hippocampus and memory for orderly stimulus relations. Proc. Natl Acad. Sci. USA. 1997;94:7109–7114. doi: 10.1073/pnas.94.13.7109. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Wikenheiser AM, Redish AD. Hippocampal theta sequences reflect current goals. Nat. Neurosci. 2015;18:289–294. doi: 10.1038/nn.3909. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Colgin LL. Mechanisms and functions of theta rhythms. Annu. Rev. Neurosci. 2013;36:295–312. doi: 10.1146/annurev-neuro-062012-170330. [DOI] [PubMed] [Google Scholar]
- 6.Kay K, et al. Constant sub-second cycling between representations of possible futures in the hippocampus. Cell. 2020;180:552–567. doi: 10.1016/j.cell.2020.01.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.McNaughton BL, Barnes CA, O’Keefe J. The contributions of position, direction, and velocity to single unit activity in the hippocampus of freely-moving rats. Exp. Brain Res. 1983;52:41–49. doi: 10.1007/BF00237147. [DOI] [PubMed] [Google Scholar]
- 8.Grillner S, Wallén P. Central pattern generators for locomotion, with special reference to vertebrates. Annu. Rev. Neurosci. 1985;8:233–261. doi: 10.1146/annurev.ne.08.030185.001313. [DOI] [PubMed] [Google Scholar]
- 9.Machado AS, Darmohray DM, Fayad J, Marques HG, Carey MR. A quantitative framework for whole-body coordination reveals specific deficits in freely walking ataxic mice. eLife. 2015;4:e07892. doi: 10.7554/eLife.07892. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Bellardita C, Kiehn O. Phenotypic characterization of speed-associated gait changes in mice reveals modular organization of locomotor networks. Curr. Biol. 2015;25:1426–1436. doi: 10.1016/j.cub.2015.04.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Sarnaik R, Raman IM. Control of voluntary and optogenetically perturbed locomotion by spike rate and timing of neurons of the mouse cerebellar nuclei. eLife. 2018;7:e29546. doi: 10.7554/eLife.29546. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Mizuseki K, Sirota A, Pastalkova E, Buzsaki G. Theta oscillations provide temporal windows for local circuit computation in the entorhinal-hippocampal loop. Neuron. 2009;64:267–280. doi: 10.1016/j.neuron.2009.08.037. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Robinson JC, Brandon MP. Skipping ahead: a circuit for representing the past, present, and future. eLife. 2021;10:e68795. doi: 10.7554/eLife.68795. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Skaggs WE, McNaughton BL, Wilson MA, Barnes CA. Theta phase precession in hippocampal neuronal populations and the compression of temporal sequences. Hippocampus. 1996;6:149–172. doi: 10.1002/(SICI)1098-1063(1996)6:2<149::AID-HIPO6>3.0.CO;2-K. [DOI] [PubMed] [Google Scholar]
- 15.Feng T, Silva D, Foster DJ. Dissociation between the experience-dependent development of hippocampal theta sequences and single-trial phase precession. J. Neurosci. 2015;35:4890–4902. doi: 10.1523/JNEUROSCI.2614-14.2015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Wang M, Foster DJ, Pfeiffer BE. Alternating sequences of future and past behavior encoded within hippocampal theta oscillations. Science. 2020;370:247–250. doi: 10.1126/science.abb4151. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Muller RU, Kubie JL. The firing of hippocampal place cells predicts the future position of freely moving rats. J. Neurosci. 1989;9:4101–4110. doi: 10.1523/JNEUROSCI.09-12-04101.1989. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Samsonovich A, McNaughton BL. Path integration and cognitive mapping in a continuous attractor neural network model. J. Neurosci. 1997;17:5900–5920. doi: 10.1523/JNEUROSCI.17-15-05900.1997. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Wang Y, Romani S, Lustig B, Leonardo A, Pastalkova E. Theta sequences are essential for internally generated hippocampal firing fields. Nat. Neurosci. 2015;18:282–288. doi: 10.1038/nn.3904. [DOI] [PubMed] [Google Scholar]
- 20.O’Keefe, J. & Nadel, L. The Hippocampus as a Cognitive Map (Clarendon Press, 1978).
- 21.Burgess N, Becker S, King JA, O’Keefe J. Memory for events and their spatial context: models and experiments. Phil. Trans. R. Soc. B. 2001;356:1493–1503. doi: 10.1098/rstb.2001.0948. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Mitchell SJ, Rawlins JN, Steward O, Olton DS. Medial septal area lesions disrupt theta rhythm and cholinergic staining in medial entorhinal cortex and produce impaired radial arm maze behavior in rats. J. Neurosci. 1982;2:292–302. doi: 10.1523/JNEUROSCI.02-03-00292.1982. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Winson J. Loss of hippocampal theta rhythm results in spatial memory deficit in the rat. Science. 1978;201:160–163. doi: 10.1126/science.663646. [DOI] [PubMed] [Google Scholar]
- 24.Scoville WB, Milner B. Loss of recent memory after bilateral hippocampal lesions. J. Neurol. Neurosurg. Psychiatry. 1957;20:11–21. doi: 10.1136/jnnp.20.1.11. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.de Lavilléon G, Lacroix MM, Rondi-Reig L, Benchenane K. Explicit memory creation during sleep demonstrates a causal role of place cells in navigation. Nat. Neurosci. 2015;18:493–495. doi: 10.1038/nn.3970. [DOI] [PubMed] [Google Scholar]
- 26.Czurkó A, Huxter J, Li Y, Hangya B, Muller RU. Theta phase classification of interneurons in the hippocampal formation of freely moving rats. J. Neurosci. 2011;31:2938–2947. doi: 10.1523/JNEUROSCI.5037-10.2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Kropff E, Carmichael JE, Moser MB, Moser EI. Speed cells in the medial entorhinal cortex. Nature. 2015;523:419–424. doi: 10.1038/nature14622. [DOI] [PubMed] [Google Scholar]
- 28.Fries P. Rhythms for cognition: communication through coherence. Neuron. 2015;88:220–235. doi: 10.1016/j.neuron.2015.09.034. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Kim SM, Frank LM. Hippocampal lesions impair rapid learning of a continuous spatial alternation task. PLoS One. 2009;4:e5494. doi: 10.1371/journal.pone.0005494. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Frank LM, Brown EN, Wilson M. Trajectory encoding in the hippocampus and entorhinal cortex. Neuron. 2000;27:169–178. doi: 10.1016/S0896-6273(00)00018-0. [DOI] [PubMed] [Google Scholar]
- 31.Sławińska U, Kasicki S. The frequency of rat’s hippocampal theta rhythm is related to the speed of locomotion. Brain Res. 1998;796:327–331. doi: 10.1016/S0006-8993(98)00390-4. [DOI] [PubMed] [Google Scholar]
- 32.Kennedy JP, et al. A direct comparison of theta power and frequency to speed and acceleration. J. Neurosci. 2022;42:4326–4341. doi: 10.1523/JNEUROSCI.0987-21.2022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Kropff E, Carmichael JE, Moser EI, Moser M-BB. Frequency of theta rhythm is controlled by acceleration, but not speed, in running rats. Neuron. 2021;109:1029–820784896. doi: 10.1016/j.neuron.2021.01.017. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Joshi A, Somogyi P. Changing phase relationship of the stepping rhythm to neuronal oscillatory theta activity in the septo-hippocampal network of mice. Brain Struct. Funct. 2020;225:871–879. doi: 10.1007/s00429-020-02031-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Grion N, Akrami A, Zuo Y, Stella F, Diamond ME. Coherence between rat sensorimotor system and hippocampus is enhanced during tactile discrimination. PLoS Biol. 2016;14:e1002384. doi: 10.1371/journal.pbio.1002384. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Denovellis EL, et al. Hippocampal replay of experience at real-world speeds. eLife. 2021;10:e64505. doi: 10.7554/eLife.64505. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Prochazka A, Gorassini M. Ensemble firing of muscle afferents recorded during normal locomotion in cats. J. Physiol. 1998;507:293–304. doi: 10.1111/j.1469-7793.1998.293bu.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Pearson KG. Generating the walking gait: role of sensory feedback. Prog. Brain Res. 2004;143:123–129. doi: 10.1016/S0079-6123(03)43012-4. [DOI] [PubMed] [Google Scholar]
- 39.Gupta AS, van der Meer MAA, Touretzky DS, Redish AD. Segmentation of spatial experience by hippocampal theta sequences. Nat. Neurosci. 2012;15:1032–1039. doi: 10.1038/nn.3138. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Jutras MJ, Fries P, Buffalo EA. Oscillatory activity in the monkey hippocampus during visual exploration and memory formation. Proc. Natl Acad. Sci. USA. 2013;110:13144–13149. doi: 10.1073/pnas.1302351110. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Ledberg A, Robbe D. Locomotion-related oscillatory body movements at 6–12 Hz modulate the hippocampal theta rhythm. PLoS One. 2011;6:e27575. doi: 10.1371/journal.pone.0027575. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Buno WJ, Velluti JC. Relationships of hippocampal theta cycles with bar pressing during self-stimulation. Physiol. Behav. 1977;19:615–621. doi: 10.1016/0031-9384(77)90035-X. [DOI] [PubMed] [Google Scholar]
- 43.Kleinfeld D, Deschênes M, Ulanovsky N. Whisking, sniffing, and the hippocampal θ-rhythm: a tale of two oscillators. PLoS Biol. 2016;14:e1002385. doi: 10.1371/journal.pbio.1002385. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Alves JA, Boerner BC, Laplagne DA. Flexible coupling of respiration and vocalizations with locomotion and head movements in the freely behaving rat. Neural Plast. 2016;2016:4065073. doi: 10.1155/2016/4065073. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Sheriff A, Pandolfi G, Nguyen VS, Kay LM. Long-range respiratory and theta oscillation networks depend on spatial sensory context. J. Neurosci. 2021;41:9957–9970. doi: 10.1523/JNEUROSCI.0719-21.2021. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Tort ABL, et al. Parallel detection of theta and respiration-coupled oscillations throughout the mouse brain. Sci. Rep. 2018;8:6432. doi: 10.1038/s41598-018-24629-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Rojas-Libano D, Wimmer Del Solar J, Aguilar-Rivera M, Montefusco-Siegmund R, Maldonado PE. Local cortical activity of distant brain areas can phase-lock to the olfactory bulb’s respiratory rhythm in the freely behaving rat. J. Neurophysiol. 2018;120:960–972. doi: 10.1152/jn.00088.2018. [DOI] [PubMed] [Google Scholar]
- 48.Herent C, Diem S, Fortin G, Bouvier J. Absent phasing of respiratory and locomotor rhythms in running mice. eLife. 2020;9:e61919. doi: 10.7554/eLife.61919. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Fiebelkorn IC, Kastner S. A rhythmic theory of attention. Trends Cogn. Sci. 2019;23:87–101. doi: 10.1016/j.tics.2018.11.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Hasselmo ME, Bodelon C, Wyble BP. A proposed function for hippocampal theta rhythm: separate phases of encoding and retrieval enhance reversal of prior learning. Neural Comput. 2002;14:793–817. doi: 10.1162/089976602317318965. [DOI] [PubMed] [Google Scholar]
- 51.Jones MW, Wilson MA. Theta rhythms coordinate hippocampal-prefrontal interactions in a spatial memory task. PLoS Biol. 2005;3:e402. doi: 10.1371/journal.pbio.0030402. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Zielinski MC, Shin JD, Jadhav SP. Coherent coding of spatial position mediated by theta oscillations in the hippocampus and prefrontal cortex. J. Neurosci. 2019;39:4550–4565. doi: 10.1523/JNEUROSCI.0106-19.2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Fournier J, et al. Mouse visual cortex is modulated by distance traveled and by theta oscillations. Curr. Biol. 2020;30:3811–3817. doi: 10.1016/j.cub.2020.07.006. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Hinman JR, Brandon MP, Climer JR, Chapman GW, Hasselmo ME. Multiple running speed signals in medial entorhinal cortex. Neuron. 2016;91:666–679. doi: 10.1016/j.neuron.2016.06.027. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Dannenberg H, Lazaro H, Nambiar P, Hoyland A, Hasselmo ME. Effects of visual inputs on neural dynamics for coding of location and running speed in medial entorhinal cortex. eLife. 2020;9:e62500. doi: 10.7554/eLife.62500. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Musall S, Kaufman MT, Juavinett AL, Gluf S, Churchland AK. Single-trial neural dynamics are dominated by richly varied movements. Nat. Neurosci. 2019;22:1677–1686. doi: 10.1038/s41593-019-0502-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Stringer C, et al. Spontaneous behaviors drive multidimensional, brainwide activity. Science. 2019;364:255. doi: 10.1126/science.aav7893. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Ter Wal M, et al. Theta rhythmicity governs human behavior and hippocampal signals during memory-dependent tasks. Nat. Commun. 2021;12:7048. doi: 10.1038/s41467-021-27323-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Suryanarayana SM, Robertson B, Grillner S. The neural bases of vertebrate motor behaviour through the lens of evolution. Phil. Trans. R. Soc. B. 2022;377:20200521. doi: 10.1098/rstb.2020.0521. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Goncalves AI, Zavatone-Veth JA, Carey MR, Clark DA. Parallel locomotor control strategies in mice and flies. Curr. Opin. Neurobiol. 2022;73:102516. doi: 10.1016/j.conb.2022.01.001. [DOI] [PubMed] [Google Scholar]
- 61.Payne HL, Lynch GF, Aronov D. Neural representations of space in the hippocampus of a food-caching bird. Science. 2021;373:343–348. doi: 10.1126/science.abg2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Ulanovsky N, Moss CF. Hippocampal cellular and network activity in freely moving echolocating bats. Nat. Neurosci. 2007;10:224–233. doi: 10.1038/nn1829. [DOI] [PubMed] [Google Scholar]
- 63.Matsumura N, et al. Spatial- and task-dependent neuronal responses during real and virtual translocation in the monkey hippocampal formation. J. Neurosci. 1999;19:2381–2393. doi: 10.1523/JNEUROSCI.19-06-02381.1999. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Suthana NA, Ekstrom AD, Moshirvaziri S, Knowlton B, Bookheimer SY. Human hippocampal CA1 involvement during allocentric encoding of spatial information. J. Neurosci. 2009;29:10512–10519. doi: 10.1523/JNEUROSCI.0621-09.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Mathis A, et al. DeepLabCut: markerless pose estimation of user-defined body parts with deep learning. Nat. Neurosci. 2018;21:1281–1289. doi: 10.1038/s41593-018-0209-y. [DOI] [PubMed] [Google Scholar]
- 66.Electrophysiology toolbox. Figsharehttps://figshare.com/articles/software/physiology/4747438/2 (2017).
- 67.Frank LM, Stanley GB, Brown EN. Hippocampal plasticity across multiple days of exposure to novel environments. J. Neurosci. 2004;24:7681–7689. doi: 10.1523/JNEUROSCI.1958-04.2004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.Chung JE, et al. A fully automated approach to spike sorting. Neuron. 2017;95:1381–1394. doi: 10.1016/j.neuron.2017.08.030. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 69.Dijkstra EW. A note on two problems in connexion with graphs. Numer. Math. 1959;1:269–271. doi: 10.1007/BF01386390. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All data used for this study are publicly available in the DANDI Archive at https://dandiarchive.org/dandiset/000410/draft/. Any additional information required to reanalyse the data reported in this paper is available from the corresponding authors upon request.
All code used for the analysis of this data is publicly available at https://github.com/LorenFrankLab and https://zenodo.org/deposit/7615939.