Basic VisualizationΒΆ

Initialize a basic visualization session.

../_images/sphx_glr_plot_basics_001.png
from surfer import Brain

print(__doc__)

"""
Define the three important variables.
Note that these are the first three positional arguments
in tksurfer (and pysurfer for that matter).
"""
subject_id = 'fsaverage'
hemi = 'lh'
surf = 'inflated'

"""
Call the Brain object constructor with these
parameters to initialize the visualization session.
"""
brain = Brain(subject_id, hemi, surf)

Total running time of the script: ( 0 minutes 1.215 seconds)

Gallery generated by Sphinx-Gallery