OSCR

Hippocampal theta sweeps indicate goal direction during navigation.

Code ↔ Paper

2 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 2 matches
  1. [1] § Methods › Mechanistic modeling with CANs › Directional ring attractor ↔ models.py, lines 232–260 · score 0.53 · theta modulation, directional cell, head direction, sensory, squared, animal
  2. [2] § Methods › Mechanistic modeling with CANs › Place cell attractor network ↔ models.py, lines 232–260 · score 0.52 · theta modulated, directional cell, conjunctive, sensory, pi, activities

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 474 lines · 15 KB · Apache-2.0 · 2 matches

  1. import jax
  2. import brainpy as bp
  3. import brainpy.math as bm
  4. import numpy as np
  5. from tqdm import trange
  6. class HD_cell_L1(bp.DynamicalSystem):
  7. def __init__(
  8. self,
  9. num: int,
  10. noise_strength: float = 0.01,
  11. tau: float = 1.0,
  12. tau_v: float = 10.0,
  13. k: float = 1.0,
  14. mbar: float = 15.0,
  15. a: float = 0.4,
  16. A: float = 3.0,
  17. J0: float = 4.0,
  18. z_min: float = -bm.pi,
  19. z_max: float = bm.pi,
  20. goal_a: float = 0.5,
  21. goal_A: float = 1.0,
  22. topdown: bool = False,
  23. ):
  24. super(HD_cell_L1, self).__init__()
  25. self.tau = tau
  26. self.tau_v = tau_v
  27. self.k = k / num * 20 # Degree of the rescaled inhibition
  28. self.a = a # Half-width of the range of excitatory connections
  29. self.A = A # Magnitude of the external input
  30. self.J0 = J0 / num * 20 # maximum connection value
  31. self.m = mbar * tau / tau_v
  32. self.noise_strength = noise_strength
  33. self.num = num
  34. self.z_min = z_min
  35. self.z_max = z_max
  36. self.z_range = z_max - z_min
  37. x1 = bm.linspace(z_min, z_max, num + 1)
  38. self.x = x1[0:-1]
  39. self.topdown = topdown
  40. self.goal_a = goal_a
  41. self.goal_A = goal_A
  42. conn_mat = self.make_conn()
  43. self.conn_fft = bm.fft.fft(conn_mat)
  44. self.r = bm.Variable(bm.zeros(num))
  45. self.u = bm.Variable(bm.zeros(num))
  46. self.v = bm.Variable(bm.zeros(num))
  47. self.input = bm.Variable(bm.zeros(num))
  48. self.center = bm.Variable(bm.zeros(1))
  49. self.centerI = bm.Variable(bm.zeros(1))
  50. self.total_input = bm.Variable(bm.zeros(num))
  51. self.integral = bp.odeint(method="exp_euler", f=self.derivative)
  52. def topdown_input(self, td_mod: float):
  53. assert bm.size(self.goal_dir) == 1
  54. d = self.dist(bm.asarray(self.goal_dir) - self.x)
  55. input_ = self.goal_A * bm.exp(-0.25 * bm.square(d / self.goal_a))
  56. input_ = input_ * td_mod
  57. return input_
  58. def dist(self, d):
  59. d = self.circle_period(d)
  60. d = bm.where(d > 0.5 * self.z_range, d - self.z_range, d)
  61. return d
  62. def make_conn(self):
  63. d = self.dist(bm.abs(self.x[0] - self.x))
  64. Jxx = self.J0 * bm.exp(-0.5 * bm.square(d / self.a)) / (2 * bm.pi * self.a ** 2)
  65. return Jxx
  66. def get_center(self, r, x):
  67. exppos = bm.exp(1j * x)
  68. center = bm.angle(bm.sum(exppos * r))
  69. return center.reshape(-1,)
  70. @property
  71. def derivative(self):
  72. du = lambda u, t, input: (-u + input - self.v) / self.tau
  73. dv = lambda v, t: (-v + self.m * self.u) / self.tau_v
  74. return bp.JointEq([du, dv])
  75. def circle_period(self, A):
  76. B = bm.where(A > bm.pi, A - 2 * bm.pi, A)
  77. B = bm.where(B < -bm.pi, B + 2 * bm.pi, B)
  78. return B
  79. def input_HD(self, HD):
  80. return self.A * bm.exp(-0.25 * bm.square(self.dist(self.x - HD) / self.a))
  81. def reset_state(self, HD_truth):
  82. self.r.value = bm.Variable(bm.zeros(self.num))
  83. self.u.value = bm.Variable(bm.zeros(self.num))
  84. self.v.value = bm.Variable(bm.zeros(self.num))
  85. self.center.value = bm.Variable(bm.zeros(1,) + HD_truth)
  86. def update(self, HD, ThetaInput, Topdown_mod, Dir2Goal):
  87. self.goal_dir = Dir2Goal
  88. self.center = self.get_center(r=self.r, x=self.x)
  89. Iext = self.input_HD(HD)
  90. if self.topdown: #top down control
  91. self.td_input = self.topdown_input(Topdown_mod)
  92. # self.total_input = Iext + ThetaInput * self.td_input
  93. self.total_input = ThetaInput * Iext + self.td_input
  94. else:
  95. self.total_input = ThetaInput * Iext
  96. # Calculate input
  97. r_fft = bm.fft.fft(self.r)
  98. Irec = bm.real(bm.fft.ifft(r_fft * self.conn_fft))
  99. input_total = self.total_input + Irec + bm.random.randn(self.num) * self.noise_strength
  100. # Update neural state
  101. u, v = self.integral(self.u, self.v, bp.share.load("t"), input_total, bm.dt)
  102. self.u.value = bm.where(u > 0, u, 0)
  103. self.v.value = v
  104. r1 = bm.square(self.u)
  105. r2 = 1.0 + self.k * bm.sum(r1)
  106. self.r.value = r1 / r2
  107. class PC_cell_L2(bp.DynamicalSystem):
  108. def __init__(
  109. self,
  110. num=100,
  111. noise_strength=0.,
  112. tau=10.0,
  113. tau_v=100.0,
  114. mbar=75.0,
  115. a=0.5,
  116. A=1.0,
  117. td_A=1.0,
  118. J0=5.0,
  119. k=1,
  120. g = 1000,
  121. x_min=-bm.pi,
  122. x_max=bm.pi,
  123. num_hd = 100,
  124. phase_offset = 1/9,
  125. ):
  126. super(PC_cell_L2, self).__init__()
  127. # dynamics parameters
  128. self.tau = tau # The synaptic time constant
  129. self.tau_v = tau_v # The time constant of the adaptation variable
  130. self.num_x = num # number of excitatory neurons for x dimension
  131. self.num_y = num # number of excitatory neurons for y dimension
  132. self.num = self.num_x * self.num_y
  133. self.num_hd = num_hd
  134. self.k = k # Degree of the rescaled inhibition
  135. self.a = a # Half-width of the range of excitatory connections
  136. self.A = A # Magnitude of the external input
  137. self.td_A = td_A # Magnitude of the topdown input
  138. self.g = g
  139. self.J0 = J0/g # maximum connection value
  140. self.m = mbar * tau / tau_v
  141. self.noise_strength = noise_strength
  142. self.phase_offset = phase_offset
  143. # feature space
  144. self.x_range = x_max - x_min
  145. phi_x = bm.linspace(x_min, x_max, self.num_x + 1) # The encoded feature values
  146. self.x = phi_x[0:-1]
  147. self.y_range = self.x_range
  148. phi_y = bm.linspace(x_min, x_max, self.num_y + 1) # The encoded feature values
  149. self.y = phi_y[0:-1]
  150. x_grid, y_grid = bm.meshgrid(self.x, self.y)
  151. self.x_grid = x_grid.flatten()
  152. self.y_grid = y_grid.flatten()
  153. self.value_grid = bm.stack([self.x_grid, self.y_grid]).T
  154. # initialize conn matrix
  155. self.conn_mat = self.make_conn()
  156. # initialize dynamical variables
  157. self.r = bm.Variable(bm.zeros(self.num))
  158. self.u = bm.Variable(bm.zeros(self.num))
  159. self.v = bm.Variable(bm.zeros(self.num))
  160. self.input = bm.Variable(bm.zeros(self.num))
  161. self.center_I = bm.Variable(bm.zeros(2))
  162. self.center_bump = bm.Variable(bm.zeros(2))
  163. # 定义积分器
  164. self.integral = bp.odeint(method="exp_euler", f=self.derivative)
  165. def circle_period(self, d):
  166. d = bm.where(d > bm.pi, d - 2 * bm.pi, d)
  167. d = bm.where(d < -bm.pi, d + 2 * bm.pi, d)
  168. return d
  169. def dist(self, d):
  170. dis = self.circle_period(d)
  171. delta_x = dis[:, 0]
  172. delta_y = dis[:, 1]
  173. dis = bm.sqrt(delta_x ** 2 + delta_y ** 2)
  174. return dis
  175. def make_conn(self):
  176. @jax.vmap
  177. def get_J(v):
  178. d = self.dist(v - self.value_grid)
  179. Jxx = (
  180. self.J0
  181. * bm.exp(-0.5 * bm.square(d / self.a))
  182. / (bm.sqrt(2 * bm.pi) * self.a)
  183. )
  184. return Jxx
  185. return get_J(self.value_grid)
  186. def Postophase(self, pos):
  187. phase = pos + bm.pi # 坐标变换
  188. phase_x = bm.mod(phase[0], 2 * bm.pi) - bm.pi
  189. phase_y = bm.mod(phase[1], 2 * bm.pi) - bm.pi
  190. Phase = bm.array([phase_x, phase_y])
  191. return Phase
  192. def input_by_conjG(self, Animal_location, HD_activity, ThetaModulator, HD_truth):
  193. assert bm.size(Animal_location) == 2
  194. num_hd = self.num_hd
  195. hd = bm.linspace(-bm.pi,bm.pi,num_hd)
  196. # each head-direction cell corresponds to a group of Conjunctive grid cells, which in turn projects to pure grid cells with assymetric connections determined by offset(hd)
  197. lagvec = -bm.array([bm.cos(HD_truth), bm.sin(HD_truth)]) * self.phase_offset * 0.3 #1.4
  198. offset = bm.array([bm.cos(hd), bm.sin(hd)]) * self.phase_offset + 1.*lagvec.reshape(-1,1)
  199. self.center_conjG = self.Postophase(
  200. Animal_location.reshape([-1,1]) + offset.reshape(-1,num_hd)
  201. ) # Ideal phase using mapping function
  202. input = bm.zeros([num_hd, self.num])
  203. for i in range(num_hd):
  204. d = self.dist(bm.asarray(self.center_conjG[:,i]) - self.value_grid)
  205. input[i] = self.td_A * bm.exp(-0.25 * bm.square(d / self.a))
  206. max_hd = bm.max(HD_activity)
  207. hd_weight = bm.where(HD_activity>0.99*max_hd, HD_activity, 0)
  208. hd_weight = hd_weight/bm.sum(hd_weight)
  209. topdown_input = bm.matmul(input.transpose(), hd_weight).reshape(-1,) * ThetaModulator
  210. #add animal location as a sensory inout which do not receive theta modulation
  211. loc_ = self.Postophase(Animal_location)
  212. d = self.dist(bm.asarray(loc_) - self.value_grid)
  213. loc_input = self.A * bm.exp(-0.25 * bm.square(d / self.a))
  214. total_input = topdown_input + loc_input
  215. return total_input
  216. def get_center(self):
  217. exppos_x = bm.exp(1j * self.x_grid)
  218. exppos_y = bm.exp(1j * self.y_grid)
  219. r = bm.where(self.r > bm.max(self.r) * 0.1, self.r, 0)
  220. #get the center of the activity bump
  221. self.center_bump[0] = bm.angle(bm.sum(exppos_x * r))
  222. self.center_bump[1] = bm.angle(bm.sum(exppos_y * r))
  223. #get the center of the middle layer input (offset input)
  224. self.center_I[0] = bm.angle(bm.sum(exppos_x * self.input))
  225. self.center_I[1] = bm.angle(bm.sum(exppos_y * self.input))
  226. @property
  227. def derivative(self):
  228. du = (
  229. lambda u, t, Irec: (
  230. -u
  231. + Irec
  232. + self.input
  233. - self.v
  234. )
  235. / self.tau
  236. )
  237. dv = lambda v, t: (-v + self.m * self.u) / self.tau_v
  238. return bp.JointEq([du, dv])
  239. def reset_state(self):
  240. self.r.value = bm.Variable(bm.zeros(self.num))
  241. self.u.value = bm.Variable(bm.zeros(self.num))
  242. self.v.value = bm.Variable(bm.zeros(self.num))
  243. self.input.value = bm.Variable(bm.zeros(self.num))
  244. def update(self, Animal_location, HD_activity, ThetaModulator, HD_truth):
  245. #update the center and store them
  246. self.get_center()
  247. #
  248. input_conjG = self.input_by_conjG(Animal_location, HD_activity, ThetaModulator, HD_truth)
  249. self.input = input_conjG
  250. Irec = bm.matmul(self.conn_mat, self.r) + self.noise_strength * bm.random.randn(
  251. (self.num)
  252. )
  253. # Update neural state
  254. u, v = self.integral(self.u, self.v, bp.share["t"], Irec, bm.dt)
  255. self.u.value = bm.where(u > 0, u, 0)
  256. self.v.value = v
  257. r1 = bm.square(self.u)
  258. r2 = 1.0 + self.k * bm.sum(r1)
  259. self.r.value = self.g*r1 / r2
  260. def simulate_model(
  261. # behavioural data
  262. loc_seq: np.ndarray,
  263. hd_seq: np.ndarray,
  264. md_seq: np.ndarray,
  265. gd_seq: np.ndarray,
  266. speed_seq: np.ndarray,
  267. # hd network parameters
  268. num_hd: int = 100,
  269. tau_hd: float = 10.0,
  270. tau_v_hd: float = 100.0,
  271. k_hd: float = 1.0,
  272. mbar_hd: float = 10.0, # hd adaptation strength
  273. a_hd: float = 0.4,
  274. A_hd: float = 3.0,
  275. J0_hd: float = 4.0,
  276. goal_a: float = 0.4,
  277. goal_A: float = 3.0,
  278. td: bool = True,
  279. # pc network parameters
  280. num_pc: int = 50,
  281. tau_pc: float = 10.0,
  282. tau_v_pc: float = 100.0,
  283. k_pc: float = 1.0,
  284. mbar_pc: float = 1.0, # pc adaptation strength
  285. a_pc: float = 0.5,
  286. A_pc: float = 5.0,
  287. td_A: float = 5.0,
  288. J0_pc: float = 10.0,
  289. g_pc: float = 1000.0,
  290. noise_strength: float = 0.0,
  291. phase_offset: float = 1.5,
  292. theta_mod_hd: float = 0.4,
  293. theta_mod_pc: float = 0.8,
  294. td_mod: float = 4.0,
  295. device: str = "cpu",
  296. dt: float = 1.0, # ms
  297. simulation_time: int = 50000,
  298. ):
  299. bm.set_platform(device)
  300. bm.set_dt(dt)
  301. bm.clear_buffer_memory(platform=device)
  302. v0 = 1.0 * bm.pi / 1000 # baseline streength
  303. # construct model
  304. hd_network = HD_cell_L1(
  305. num=num_hd,
  306. noise_strength=noise_strength,
  307. tau=tau_hd,
  308. tau_v=tau_v_hd,
  309. k=k_hd,
  310. mbar=mbar_hd,
  311. a=a_hd,
  312. A=A_hd,
  313. J0=J0_hd,
  314. z_min=-bm.pi,
  315. z_max=bm.pi,
  316. goal_a=goal_a,
  317. goal_A=goal_A,
  318. topdown=td,
  319. )
  320. pc_network = PC_cell_L2(
  321. num=num_pc,
  322. noise_strength=noise_strength,
  323. tau=tau_pc,
  324. tau_v=tau_v_pc,
  325. k=k_pc,
  326. mbar=mbar_pc,
  327. a=a_pc,
  328. A=A_pc,
  329. td_A=td_A,
  330. J0=J0_pc,
  331. g=g_pc,
  332. x_min=-bm.pi,
  333. x_max=bm.pi,
  334. num_hd=num_hd,
  335. phase_offset=phase_offset,
  336. )
  337. def run_coupled_net(i, loc, hd, speed, gd):
  338. speed_mod = (2 + speed / v0) / 5
  339. theta_mod_strength_hd = theta_mod_hd * speed / v0
  340. theta_mod_strength_pc = theta_mod_pc * speed / v0
  341. t_theta = 100 # ms (10 Hz theta oscillation)
  342. t = i * bm.dt
  343. theta_phase = bm.mod(t, t_theta) / t_theta
  344. theta_mod_hd_i = 1 + theta_mod_strength_hd * bm.cos(theta_phase * 2 * bm.pi)
  345. theta_mod_pc_i = (1 + theta_mod_strength_pc * bm.cos(theta_phase * 2 * bm.pi)) * speed_mod
  346. hd_network.step_run(i, hd, theta_mod_hd_i, td_mod, gd)
  347. hd_bump_center = hd_network.center
  348. hd_activity = hd_network.r
  349. pc_network.step_run(i, loc, hd_activity, theta_mod_pc_i, hd)
  350. pc_bump_center = pc_network.center_bump
  351. pc_activity = pc_network.r
  352. return (
  353. pc_bump_center,
  354. hd_bump_center,
  355. pc_activity,
  356. hd_activity,
  357. theta_phase,
  358. theta_mod_hd,
  359. )
  360. timesteps = np.arange(len(loc_seq))
  361. print("Running simulations...")
  362. @bm.jit
  363. def run(ts, loc, hd, speed, gd):
  364. return bm.for_loop(run_coupled_net, (ts, loc, hd, speed, gd))
  365. pc_activity = np.empty((len(loc_seq), num_pc, num_pc))
  366. hd_activity = np.empty((len(loc_seq), num_hd))
  367. pc_bump_center = np.empty((len(loc_seq), 2))
  368. hd_bump_center = np.empty((len(loc_seq), 1))
  369. theta_phase = np.empty((len(loc_seq), ))
  370. theta_rhythm = np.empty((len(loc_seq), ))
  371. for i in trange(0, len(loc_seq), simulation_time):
  372. (
  373. pc_bump_center_i,
  374. hd_bump_center_i,
  375. pc_activity_i,
  376. hd_activity_i,
  377. theta_phase_i,
  378. theta_mod_hd_i,
  379. ) = run(
  380. timesteps[i:i+simulation_time],
  381. loc_seq[i:i+simulation_time],
  382. md_seq[i:i+simulation_time],
  383. speed_seq[i:i+simulation_time],
  384. gd_seq[i:i+simulation_time],
  385. )
  386. pc_bump_center[i:i+simulation_time] = pc_bump_center_i
  387. hd_bump_center[i:i+simulation_time] = hd_bump_center_i
  388. pc_activity[i:i+simulation_time] = pc_activity_i.reshape((-1, num_pc, num_pc))
  389. hd_activity[i:i+simulation_time] = hd_activity_i
  390. theta_phase[i:i+simulation_time] = theta_phase_i
  391. theta_rhythm[i:i+simulation_time] = theta_mod_hd_i
  392. return (
  393. pc_activity,
  394. hd_activity,
  395. pc_bump_center,
  396. hd_bump_center,
  397. theta_phase,
  398. theta_rhythm,
  399. )

models.py at commit 2d1f968, under Apache-2.0 · at the source

Overview

Authors: Changmin Yu1,2, Zilong Ji2,3, Jake Ormond4,5, John O’Keefe4,6, Neil Burgess2,3,4,6
  1. Computational and Biological Learning Lab, Department of Engineering, University of Cambridge,Cambridge, UK
  2. Institute of Cognitive Neuroscience, University College London,London, UK
  3. Queen Square Institute of Neurology, University College London,London, UK
  4. Sainsbury Wellcome Centre for Neural Circuits and Behaviour, University College London,London, UK
  5. Department of Bioengineering, Imperial College London,London, UK
  6. Department of Cell and Developmental Biology, University College London,London, UK
Institutions: University of Cambridge (United Kingdom); University College London (United Kingdom); Imperial College London (United Kingdom)
Journal: Nature neuroscience, volume 29, issue 9, pages 2225-2236
Dates: received 30 September 2025; accepted 11 June 2026; published online 1 July 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41593-026-02365-2 · PMID 42386950 · PMCID PMC13533849 · OpenAlex W7166826753
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: computational modeling (no new data) (modality), rat (organism)
Methods: Connectivity, Statistics, Machine learning, Spectral & time-frequency, Graphs, Single-unit activity, calcium imaging, Physiology & signal measures
Keywords: Hippocampus, Spatial memory, Network models
MeSH: Goals*, Hippocampus*, Spatial Navigation*, Theta Rhythm*, Animals, Male, Maze Learning, Rats, Rats, Long-Evans (* major topic)
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Wellcome Trust (Wellcome) (Wt203020/z/16/z, 222457/Z/21/Z); Gatsby Charitable Foundation (090843/F/09/Z)
Citations: cited by 4 papers (Europe PMC); 68 references in the paper

Abstract

Successful spatial navigation requires rapid evaluation of potential future trajectories. Hippocampal ‘theta sweeps’, the sequential activation of place cells within individual theta cycles, exhibit predictive dynamics within the ideal timeframe for this role. However, whether these sequences reflect movement-related variables, perceptual targets or more cognitive goal-directed planning remains unresolved. Using data from the ‘Honeycomb’ maze, which dissociates head, movement and goal directions, we found that theta sweeps form vectors toward remembered goal locations independent of the rat’s movement or heading directions. Stronger goal modulation preceded correct navigational choices, establishing the relevance of theta sweeps for spatial planning. A hierarchical continuous attractor network with goal-oriented directional inputs reproduced these findings and made several nontrivial predictions, which we confirmed empirically. Sequential activity during immobility-related sharp-wave ripples was also goal directed and, therefore, more aligned with theta sweeps than with previously experienced trajectories. Our findings identify hippocampal theta sweeps as neural substrates for online goal-directed planning.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.

changmin-yu/goal_directed_theta_sweeps_honeycomb_maze

License: Apache-2.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 2d1f96846c51823520210d861fd917071b9b0a6e, 16 October 2025
Languages: Python (4), Jupyter (1)
Size: 9 files, 5 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, environment (requirements.txt), 1 notebook
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (5 files), SciPy (3 files), Matplotlib (2 files), JAX (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
7 files

Code availability

The custom Python code used for all analyses and model simulations can be accessed through the GitHub repository: https://github.com/changmin-yu/goal_directed_theta_sweeps_honeycomb_maze.

Reproduced under the paper's license (CC BY), from the paper cited above.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 5 scripts, each with its path and the digest of its content;
  • 2 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data availability

The analyses in this study used previously published datasets from Ormond and O’Keefe19 (Honeycomb maze) and Pfeiffer and Foster20 (Chessboard task). Source data underlying the figures in this paper are provided with the paper. The Honeycomb maze dataset is available from the corresponding authors of the present study upon reasonable request. The Pfeiffer and Foster dataset was generated by the original authors and is not redistributed by the present authors; requests for access should be directed to the corresponding author(s) of Pfeiffer and Foster20. Source data are provided with this paper.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 2, 28 September 2026

  • Publisher: n/a → Nature Portfolio

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 3 keywords, 9 MeSH terms, 2 funders, 60 references.

Cite

This paper

Yu, C., Ji, Z., Ormond, J., O’Keefe, J., & Burgess, N. (2026). Hippocampal theta sweeps indicate goal direction during navigation. Nature neuroscience, 29(9), 2225-2236. https://doi.org/10.1038/s41593-026-02365-2

BibTeX

@article{yu2026hippocampal,
author = {Yu, Changmin and Ji, Zilong and Ormond, Jake and O’Keefe, John and Burgess, Neil},
title = {{Hippocampal theta sweeps indicate goal direction during navigation}},
journal = {Nature neuroscience},
year = {2026},
month = jul,
volume = {29},
number = {9},
pages = {2225--2236},
publisher = {Nature Portfolio},
issn = {1097-6256},
doi = {10.1038/s41593-026-02365-2},
url = {https://doi.org/10.1038/s41593-026-02365-2},
pmid = {42386950},
pmcid = {PMC13533849}
}

RIS

TY - JOUR
AU - Yu, Changmin
AU - Ji, Zilong
AU - Ormond, Jake
AU - O’Keefe, John
AU - Burgess, Neil
TI - Hippocampal theta sweeps indicate goal direction during navigation
T2 - Nature neuroscience
J2 - Nat Neurosci
PY - 2026
DA - 2026/07/01
VL - 29
IS - 9
SP - 2225
EP - 2236
SN - 1097-6256
PB - Nature Portfolio
DO - 10.1038/s41593-026-02365-2
UR - https://doi.org/10.1038/s41593-026-02365-2
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41593-026-02365-2",
"type": "article-journal",
"title": "Hippocampal theta sweeps indicate goal direction during navigation",
"container-title": "Nature neuroscience",
"author": [
{
"family": "Yu",
"given": "Changmin"
},
{
"family": "Ji",
"given": "Zilong"
},
{
"family": "Ormond",
"given": "Jake"
},
{
"family": "O’Keefe",
"given": "John"
},
{
"family": "Burgess",
"given": "Neil"
}
],
"container-title-short": "Nat Neurosci",
"volume": "29",
"issue": "9",
"page": "2225-2236",
"DOI": "10.1038/s41593-026-02365-2",
"PMID": "42386950",
"PMCID": "PMC13533849",
"ISSN": "1097-6256",
"publisher": "Nature Portfolio",
"URL": "https://doi.org/10.1038/s41593-026-02365-2",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
1
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1126/sciadv.aeg6797 [code]
Dorsoventral gradient of theta sweeps in the medial entorhinal cortex.
Journal: Science advances
In common: JAX, SciPy, Matplotlib, 1 other tool, 9 references, 2 authors
[2] doi:10.1002/hipo.70131 [code]
Decoding Medial Entorhinal Cortical Dynamics Produces Planning-Like Alternations in Hippocampal theta Sequences.
Journal: Hippocampus
In common: JAX, SciPy, Matplotlib, 1 other tool, 15 references
[3] doi:10.64898/2026.03.08.710351
Dorsoventral gradient of theta sweeps in medial entorhinal cortex
Journal: bioRxiv (preprint)
In common: 6 references, author Zilong Ji
[4] doi: [code]
Naturalistic behavior and self-generated neural activity predictive of self-correction
Journal: bioRxiv : the preprint server for biology
In common: JAX, SciPy, Matplotlib, 1 other tool, 6 references
[5] doi:10.7554/elife.100642 [code]
Disrupted hippocampal theta-gamma coupling and spike-field coherence following experimental traumatic brain injury.
Journal: eLife
In common: rat, 8 references
[6] doi:10.1038/s41467-026-77318-1 [code]
Offline generative network reconfiguration guides insight-like accelerated learning by assimilation into schema in rats.
Journal: Nature communications
In common: SciPy, Matplotlib, rat, 5 references
[7] doi:10.7554/elife.106506 [code]
Modeling flexible behavior with remapping-based hippocampal sequence learning.
Journal: eLife
In common: SciPy, Matplotlib, NumPy, 5 references
[8] doi:10.1038/s42256-026-01254-4 [code]
Neural sampling from cognitive maps enables goal-directed imagination and planning.
Journal: Nature machine intelligence
In common: Matplotlib, NumPy, computational modeling (no new data), 5 references
[9] doi:10.1038/s41467-026-74357-6 [code]
Hippocampo-neocortical interaction as compressive retrieval-augmented generation.
Journal: Nature communications
In common: SciPy, Matplotlib, NumPy, computational modeling (no new data), 1 reference, author Neil Burgess
[10] doi:10.1038/s41467-026-75492-w [code]
Place and behavioral modulation of hippocampal neurons during immobility.
Journal: Nature communications
In common: 6 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.