Published December 23, 2024
| Version v1
Software
Open
Code for left-right-alternating sweeps, 2025
Authors/Creators
Description
This repository contains code for the paper "Left-right-alternating sweeps in entorhinal-hippocampal maps of space" by Vollan, Gardner, Moser & Moser (Nature, 2025). Code is intended to be compatible with the accompanying dataset deposited at EBRAINS (https://doi.org/10.25493/R5FR-EDG).
## Requirements
External Matlab packages (included in this repository):
- Chronux v2-12 (http://chronux.org/)
- CircStat2011f (https://github.com/circstat/circstat-matlab)
- matGeom (https://github.com/mattools/matGeom)
- minFunc (http://www.cs.ubc.ca/~schmidtm/Software/minFunc.html)
Matlab version: 2024a
Hardware: It is recommended to run the code on a system with at least 32GB of RAM. An NVIDIA GPU is highly recommended for some of the analyses.
Operating system: Windows or Mac.
## Setup
Copy or clone repository to your local machine. Run the script called "sweepsSetup.m" to add relevant directories to Matlab's search path and configure settings (returned as SweepsSettings object "S"). It is recommended to download the accompanying dataset (https://doi.org/10.25493/R5FR-EDG) and store it locally. The path to the dataset can be specified by setting the property "S.dataRoot_" to the dataset folder (either by modyfing the property "S.dataRoot_" in "SweepsSettings.m" or by setting the property).
## Acknowledgements
The following scripts were adapted from Wu et al. 2017 (https://github.com/waq1129/LMT):
permuteBfun.m (unchanged)
covarianceSE.m (adapted from covSEiso_deriv.m)
covarianceSECirc.m (adapted from covSEiso_deriv.m)
prior_kernel_sp.m (adapted)
logmargli_gplvm_se_block_ref_nogrid_rg_inp.m (adapted from logmargli_gplvm_se_block_ref_nogrid.m)
StateSpaceModelsofSpikeTrains_ref_rg_inp.m (adapted from StateSpaceModelsofSpikeTrains_ref.m)
covarianceSE.m (adapted from covSEiso_deriv.m)
covarianceSECirc.m (adapted from covSEiso_deriv.m)
prior_kernel_sp.m (adapted)
logmargli_gplvm_se_block_ref_nogrid_rg_inp.m (adapted from logmargli_gplvm_se_block_ref_nogrid.m)
StateSpaceModelsofSpikeTrains_ref_rg_inp.m (adapted from StateSpaceModelsofSpikeTrains_ref.m)
Files
Left-right-alternating_sweeps_2025.zip
Files
(4.0 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:7c142d072a05a222685f6dcf2ffe1f32
|
4.0 MB | Preview Download |