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
baseis the'aparc'parcellation [1].labels (Sequence[str]) – Labels to copy from
base. In order to include a label in both hemispheres, omit the*-hemitag. 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 (str | Sequence[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