Skip to content
/ pycortex Public
forked from gallantlab/pycortex

Pycortex is a python-based toolkit for surface visualization in fMRI data

License

Notifications You must be signed in to change notification settings

yanxg/pycortex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pycortex

quickflat demo

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

Quickstart

IMPORTANT: The current pip version of pycortex is out of date and broken. Please do not use it, but instead directly use the latest version of pycortex from github:

$ git clone http://github.com/gallantlab/pycortex
$ cd pycortex
$ python setup.py develop

Also, a new version of pycortex is nearly ready for release. It is currently on the branch glrework-merged.

This last command installs pycortex into the site-packages folder in your local python installation. This means that you will not need to change your PYTHONPATH variable (don't worry if you have no idea what that means). If you are working in a python terminal, do not try to import pycortex from inside the source code directory, or the import will fail.

Demo

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)

Documentation

NEW: Massively updated documentation for pycortex is available at https://gallantlab.github.io/. You can find many examples of pycortex features in the pycortex example gallery.

Citation

If you use pycortex in published work, please cite the pycortex paper:

Gao JS, Huth AG, Lescroart MD and Gallant JL (2015) Pycortex: an interactive surface visualizer for fMRI. Front. Neuroinform. 9:23. doi: 10.3389/fninf.2015.00023

About

Pycortex is a python-based toolkit for surface visualization in fMRI data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 39.9%
  • JavaScript 29.3%
  • C 23.9%
  • HTML 3.5%
  • CSS 2.4%
  • C++ 1.0%