eelbrain.pipeline.SubParc
- class eelbrain.pipeline.SubParc(base, labels, views=None)
A subset of labels in another parcellation
- Parameters:
base (str) – The name of the parcellation that provides the input labels. A common
base
is the'aparc'
parcellation [1].labels (tuple of str) – Labels to copy from
base
. In order to include a label in both hemispheres, omit the*-hemi
tag. For example, withbase='aparc'
,labels=('transversetemporal',)
would include the transverse temporal gyrus in both hemisphere, whereaslabels=('transversetemporal-lh',)
would include the transverse temporal gyrus of only the left hemisphere.views (sequence of str) – Views shown in anatomical plots, e.g.
("medial", "lateral")
.
See also
Examples
Masks for temporal and frontal lobes:
parcs = { 'STG': SubParc('aparc', ('transversetemporal', 'superiortemporal')), 'IFG': SubParc('aparc', ('parsopercularis', 'parsorbitalis', 'parstriangularis')), 'lateraltemporal': SubParc('aparc', ( 'transversetemporal', 'superiortemporal', 'bankssts', 'middletemporal', 'inferiortemporal')), }
References