Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .mailmap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Michael Waskom <mwaskom@stanford.edu> mwaskom <mwaskom@stanford.edu>
Michael Waskom <mwaskom@stanford.edu> mwaskom <mwaskom@stanford.edu> Michael Waskom <mwaskom@mit.edu>
1 change: 1 addition & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ More Information
.. toctree::
:maxdepth: 1

intro
install
examples/index.rst
documentation/index.rst
Expand Down
5 changes: 5 additions & 0 deletions doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ distribution with the additional step of setting the environment variable

export QT_API=pyqt

If you're using Canopy, you need to do something similar with the
``ETS_TOOLKIT`` variable::

export ETS_TOOLKIT=qt4

If you want to use PySurfer interactively, you should do so in ipython_. After
starting ipython (either in the terminal, qtconsole, or notebook), you have to
activate the correct GUI backend, which is probably qt::
Expand Down
37 changes: 37 additions & 0 deletions doc/intro.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.. _intro:

What is PySurfer?
=================

PySurfer is a Python library and application for visualizing brain imaging
data. It is specifically useful for plotting data on a three-dimensional mesh
representing the cortical surface of the brain. If you have functional MRI,
magnetoencephalography, or anatomical measurements from cortex, PySurfer can
help you turn them into beautiful and reproducible graphics.

PySurfer uses an explicit model of cortical geometry to generate
highly-accurate images of neuroimaging data. This is preferable to other
approaches that use simple 3D renderings of a brain volume because the
underlying topology of the cortex is a two-dimensional sheet. PySurfer can
read cortical models that have been processed using Freesurfer_ to "inflate"
the cortical folds and reveal activations that are buried within deep sulci.
This presentation is much closer to how cortical areas are laid out, and it can
help you understand and communicate your efforts to map functional or
morphometric organization.

PySurfer and its dependencies are written in Python and released with a liberal
open source license. PySurfer can be combined with other tools from the nipy_
ecosystem to manipulate and plot data in the same script or interactive
session. The visualization is primarily controlled with a high-level API that
allow you to draw a complex scene with just a few lines of code. This means
that PySurfer is naturally scriptable. Once you have developed a basic
visualization, it's easy to add a for-loop and generate the same image for
every subject in your experiment. It also aids the reproducibility of graphics
you create for conferences or papers, as each figure can be associated with a
short script that shows exactly how the visualization was produced.

To see a set of examples demonstrating some of PySurfer's capabilities, you can
check out the :ref:`example gallery <examples>`.

.. include:: links_names.txt

2 changes: 2 additions & 0 deletions examples/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _examples:

PySurfer Example Gallery
========================

Expand Down
2 changes: 2 additions & 0 deletions examples/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _examples:

This page offers a set of example scripts intended to demonstrate the
functionality offered by PySurfer, from the most basic tasks to more complex
visualizations.
Expand Down