Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gridcells-0.1.3.tar.gz (1.5 MB) Copy SHA256 Checksum SHA256 Source Jun 8, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting