Skip to main content

Python Cortical mapping software for fMRI data

Project description

pycortex

Build Status

quickflat demo

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

Quickstart

python3 -m venv env  # use `virtualenv env` for python 2
source env/bin/activate
pip install -U setuptools wheel numpy cython
pip install -U git+git://github.com/gallantlab/pycortex.git

This command creates a new virtualenv for pycortex to resolve dependencies. Run source env/bin/activate whenever you need pycortex.

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.

To build the documentation locally:

pip install sphinx_gallery
pip install numpydoc
cd docs
make html
# open `docs/_build/html/index.html` in web browser

Demo

Pycortex is best used with IPython. Install it in your virtualenv using

source env/bin/activate
pip install ipython

To run the pycortex demo,

$ ipython
In [1]: import cortex
In [2]: cortex.webshow(cortex.Volume.random("S1", "fullhead"))

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

Getting help

Please post on NeuroStars with the tag pycortex to ask questions about how to use Pycortex.

Project details


Download files

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

Source Distribution

pycortex-1.1.tar.gz (37.2 MB view details)

Uploaded Source

File details

Details for the file pycortex-1.1.tar.gz.

File metadata

  • Download URL: pycortex-1.1.tar.gz
  • Upload date:
  • Size: 37.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.1

File hashes

Hashes for pycortex-1.1.tar.gz
Algorithm Hash digest
SHA256 984268e0d98778362283377164187c0e89c1a12c03bbcd700dbfaf9fd1c400ca
MD5 ca98356ca9fdac9fa7ea19fc91bd71f4
BLAKE2b-256 c6c69d7ba13ac631157f3f4dc70c86e077d4bbe64edf449383e16deb43355768

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page