@@ -4,22 +4,28 @@ Working with a split-screen brain
4
4
=================================
5
5
6
6
The split-screen view can be activated by using the argument ``hemi='split' ``.
7
- This will put views of the left hemisphere in consecutive vertical frames
8
- on the left, and views of the right hemisphere in consecutive vertical
9
- frames on the right. For example, running the following::
7
+ Using this option will put views of the left hemisphere in consecutive
8
+ vertical frames on the left, and views of the right hemisphere in
9
+ consecutive vertical frames on the right. For example, running the following::
10
10
11
- brain = Brain('fsaverage', 'split', 'inflated',
12
- views=['lat', 'med', 'ven'])
11
+ brain = Brain('fsaverage', 'split', 'inflated', views=['lat', 'med'])
13
12
14
- Will produce a window with two columns (hemispheres) and three rows (the
15
- lateral, medial, and vental views, respectively).
13
+ Will produce a window with two columns (hemispheres) and two rows (the
14
+ lateral and medial views, respectively), shown below.
15
+
16
+ .. image :: ../../_static/split_view.png
16
17
17
18
Adding and displaying data
18
19
--------------------------
19
20
20
21
Data can be added to either hemisphere using the same functions that are
21
22
normally used, e.g. ``add_data ``, ``add_overlay ``, ``add_morphometry ``.
22
- The objects are automatically shown on all views of the brain.
23
+ The objects are automatically shown on all views of the brain. When
24
+ calling these functions, the ``hemi `` keyword argument can be set to
25
+ ``hemi='lh' `` or ``hemi='rh' `` to specify the hemisphere to plot to.
26
+ In some instances (e.g., ``add_morphometry ``), if no keyword argument
27
+ is provided, PySurfer will attempt to load data or both hemispheres
28
+ automtically.
23
29
24
30
Note that the ``show_view `` method accepts arguments for the ``row `` and
25
31
``col `` values, which allow the user to control which ``Brain `` panel
0 commit comments