This repository contains code for topological analysis of grid cell population code as in "Toroidal topology of population activity in grid cells" by Gardner and Hermansen et al. https://www.nature.com/articles/s41586-021-04268-7#Sec42
Data is found in https://figshare.com/articles/dataset/Toroidal_topology_of_population_activity_in_grid_cells/16764508