Skip to main content

Package for grid cell analysis and simulation.

Project description

What are grid cells

Grid cells are a type of cells found in some mammalian species that have very regular spatial firing fields. When these animals forage in experimental arenas, grid cells are active only in certain places and the locations where they are active form a hexagonal lattice. More information can be found in [MOSER2007] or in [HAFTING2005].

What does gridcells do

gridcells is a simple Python library that aims to provide an open source code repository related to analysis of grid cell related experiments and simulation of models of grid cells.


gridcells can be downloaded from


There are a number of dependencies you need to install this package:

  • setuptools (>= 3.6)
  • SWIG (ideally >= 3.0; earlier versions not tested)
  • numpy (>= 1.8)
  • scipy (>= 0.13.3)
  • matplotlib (>= 1.3.1)

For Linux, simply install these using the package manager.For Mac OS the easiest way is probably to use homebrew and pip. This package has not been tested on Windows but if you manage to install the dependencies there should be no problems.


After installing SWIG, run:

python install


gridcells is distributed under the GPL license. See LICENSE.txt in the root of the source directory. armadillo, which is part of this source, is distributed under the Mozilla Public License 2.0. This packages also uses a modified version of armanpy. armanpy is distributed under the LGPL license.


[MOSER2007]Edvard Moser and May-Britt Moser (2007). Grid cells. Scholarpedia, 2(7):3394.
[HAFTING2005]Hafting, T. et al., 2005. Microstructure of a spatial map in the entorhinal cortex. Nature, 436(7052), pp.801–806.

Build Status

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gridcells, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size gridcells-0.1.3.tar.gz (1.5 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page