Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Pycortex is a python-based toolkit for surface visualization in fMRI data
Failed to load latest commit information.
OpenCTM-1.0.3 fixing stuff
cortex add bbr options
docs integrated get_roi() with current pycortex
filestore Merge pull request #110 from gallantlab/animation_edits
.gitignore Fixed non-existent normalization for raw (RGB) volumes, small steps t…
LICENSE Updating docs and license text
MANIFEST BF: oops -- make cortex/tests a proper submodule, i.e. add __init__.p… Updating docs and license text update readme for the new syntax


quickflat demo

Pycortex is a software that allows you to visualize fMRI or other volumetric mapping data on cortical surfaces.


The easiest way to get pycortex is to use the Anaconda python distribution. Download and install anaconda, then run the following commands:

$ sudo pip install nibabel
$ sudo pip install pycortex

If you are using Ubuntu, using Neurodebian is highly recommended. The following command will install all python prerequisites:

$ sudo apt-get install python-pip python-dev python-numpy python-scipy python-matplotlib python-h5py python-nibabel python-lxml python-shapely python-html5lib mayavi2 inkscape blender
$ sudo pip install pycortex


Pycortex is best used with IPython. To run this demo, please download this example dataset.

$ ipython
In [1]: import cortex
In [2]: ds = cortex.load("S1_retinotopy.hdf")
In [3]: cortex.webshow(ds)


Please find more complete documentation for pycortex at The documentation for pycortex is currently incomplete, but will be improved in the coming days.

Something went wrong with that request. Please try again.