Show the different brain viewsΒΆ

Among the views available are lateral, rostral, caudal, frontal etc.

from surfer import Brain

print(__doc__)

sub = 'fsaverage'
hemi = 'both'
surf = 'inflated'

brain = Brain(sub, hemi, surf)

show all views

brain.show_view('lateral')
brain.show_view('m')
brain.show_view('rostral')
brain.show_view('caudal')
brain.show_view('ve')
brain.show_view('frontal')
brain.show_view('par')
brain.show_view('dor')

More advanced parameters

brain.show_view({'distance': 432})
# with great power comes great responsibility
brain.show_view({'azimuth': 135, 'elevation': 79}, roll=107)

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

Gallery generated by Sphinx-Gallery