|
| 1 | +.. _intro: |
| 2 | + |
| 3 | +What is PySurfer? |
| 4 | +================= |
| 5 | + |
| 6 | +PySurfer is a Python library and application for visualizing brain imaging |
| 7 | +data. It is specifically useful for plotting data on a three-dimensional mesh |
| 8 | +representing the cortical surface of the brain. If you have functional MRI, |
| 9 | +magnetoencephalography, or anatomical measurements from cortex, PySurfer can |
| 10 | +help you turn them into beautiful and reproducible graphics. |
| 11 | + |
| 12 | +PySurfer uses an explicit model of cortical geometry to generate |
| 13 | +highly-accurate images of neuroimaging data. This is preferable to other |
| 14 | +approaches that use simple 3D renderings of a brain volume because the |
| 15 | +underlying topology of the cortex is a two-dimensional sheet. PySurfer can |
| 16 | +read cortical models that have been processed using Freesurfer_ to "inflate" |
| 17 | +the cortical folds and reveal activations that are buried within deep sulci. |
| 18 | +This presentation is much closer to how cortical areas are laid out, and it can |
| 19 | +help you understand and communicate your efforts to map functional or |
| 20 | +morphometric organization. |
| 21 | + |
| 22 | +PySurfer and its dependencies are written in Python and released with a liberal |
| 23 | +open source license. PySurfer can be combined with other tools from the nipy_ |
| 24 | +ecosystem to manipulate and plot data in the same script or interactive |
| 25 | +session. The visualization is primarily controlled with a high-level API that |
| 26 | +allow you to draw a complex scene with just a few lines of code. This means |
| 27 | +that PySurfer is naturally scriptable. Once you have developed a basic |
| 28 | +visualization, it's easy to add a for-loop and generate the same image for |
| 29 | +every subject in your experiment. It also aids the reproducibility of graphics |
| 30 | +you create for conferences or papers, as each figure can be associated with a |
| 31 | +short script that shows exactly how the visualization was produced. |
| 32 | + |
| 33 | +To see a set of examples demonstrating some of PySurfer's capabilities, you can |
| 34 | +check out the :ref:`example gallery <examples>`. |
| 35 | + |
| 36 | +.. include:: links_names.txt |
| 37 | + |
0 commit comments