{"id":13687121,"url":"https://github.com/gallantlab/pycortex","last_synced_at":"2026-04-01T22:30:07.384Z","repository":{"id":10339226,"uuid":"12472709","full_name":"gallantlab/pycortex","owner":"gallantlab","description":"Pycortex is a python-based toolkit for surface visualization of fMRI data","archived":false,"fork":false,"pushed_at":"2024-10-17T20:07:22.000Z","size":623768,"stargazers_count":585,"open_issues_count":100,"forks_count":137,"subscribers_count":46,"default_branch":"main","last_synced_at":"2024-10-20T06:33:04.957Z","etag":null,"topics":["fmri","neuroimaging","python","surface-visualization"],"latest_commit_sha":null,"homepage":"https://gallantlab.github.io/pycortex","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gallantlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-08-29T22:33:10.000Z","updated_at":"2024-10-19T23:40:54.000Z","dependencies_parsed_at":"2023-02-19T15:15:55.846Z","dependency_job_id":"7a688e7f-7078-4c02-9e4a-a9d4d9309abb","html_url":"https://github.com/gallantlab/pycortex","commit_stats":{"total_commits":1977,"total_committers":62,"mean_commits":"31.887096774193548","dds":0.6514921598381386,"last_synced_commit":"2a9a5bc05ca5062ff02c42a8cc50ea14779bafc8"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gallantlab%2Fpycortex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gallantlab%2Fpycortex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gallantlab%2Fpycortex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gallantlab%2Fpycortex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gallantlab","download_url":"https://codeload.github.com/gallantlab/pycortex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224257481,"owners_count":17281719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fmri","neuroimaging","python","surface-visualization"],"created_at":"2024-08-02T15:00:49.117Z","updated_at":"2026-04-01T22:30:07.373Z","avatar_url":"https://github.com/gallantlab.png","language":"JavaScript","readme":"pycortex\n========\n[![Build Status](https://github.com/gallantlab/pycortex/actions/workflows/run_tests.yml/badge.svg)](https://github.com/gallantlab/pycortex/actions/workflows/run_tests.yml)\n[![codecov](https://codecov.io/gh/gallantlab/pycortex/branch/main/graph/badge.svg)](https://codecov.io/gh/gallantlab/pycortex)\n[![PyPI](https://img.shields.io/pypi/v/pycortex)](https://pypi.org/project/pycortex/)\n[![Python version](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/downloads/release/python)\n[![License](https://img.shields.io/badge/License-BSD%202--Clause-blue.svg)](https://opensource.org/licenses/BSD-2-Clause)\n\n\n[![quickflat demo](https://raw.github.com/gallantlab/pycortex/main/docs/wn_med.png)](https://gallantlab.github.io/pycortex)\n\nPycortex is a software library that allows you to visualize fMRI or other volumetric neuroimaging data on cortical surfaces.\n\nInstallation\n------------\n\n\u003e [!NOTE]\n\u003e Pycortex cannot be currently installed in Windows, only Linux and macOS are supported.\n\nTo install the stable release version of pycortex, do the following:\n\n```bash\n# First, install some required dependencies (if not already installed)\npip install -U setuptools wheel numpy cython\n# Install the latest release of pycortex from pip\npip install -U pycortex\n# or, with headless rendering support:\npip install -U 'pycortex[headless]'\n```\n\nIf you wish to install the development version of pycortex, you can install it directly from Github.\n\nTo do so, replace the second install line above with the following:\n\n```bash\n# Install development version of pycortex from github\npip install -U git+https://github.com/gallantlab/pycortex.git  --no-build-isolation\n```\n\nDocumentation\n-------------\nPycortex documentation is available at [https://gallantlab.github.io/pycortex](https://gallantlab.github.io/pycortex).\n\nYou can find many examples of pycortex features in the [pycortex example gallery](https://gallantlab.github.io/pycortex/auto_examples/index.html).\n\nTo build the documentation locally:\n```bash\n# Install required dependencies for the documentation\npip install sphinx_gallery numpydoc\n# Move into the docs folder (assuming already in pycortex directory)\ncd docs\n# Build a local version of the documentation site\nmake html\n```\n\nAfter you run the above, you can open `docs/_build/html/index.html` in a web browser to view the locally built documentation.\n\nDemo\n----\nPycortex is best used with [IPython]().\n\nIf you do not already have IPython, you can install it by running:\n```bash\npip install ipython\n```\n\nTo run the pycortex demo, using IPython, run:\n```ipython\n$ ipython\nIn [1]: import cortex\nIn [2]: cortex.webshow(cortex.Volume.random(\"S1\", \"fullhead\"))\n```\n\nCitation\n--------\nIf you use pycortex in published work, please cite the [pycortex paper](http://dx.doi.org/10.3389/fninf.2015.00023):\n\n_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_\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgallantlab%2Fpycortex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgallantlab%2Fpycortex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgallantlab%2Fpycortex/lists"}