eelbrain.pipeline.MneExperiment.plot_annot

MneExperiment.plot_annot(parc=None, surf=None, views=None, hemi=None, borders=False, alpha=0.7, w=None, h=None, axw=None, axh=None, foreground=None, background=None, seeds=False, **state)

Plot the annot file on which the current parcellation is based

Parameters:
  • parc (str) – Parcellation to plot. If None (default), use parc from the current state.

  • surf ('inflated' | 'pial' | 'smoothwm' | 'sphere' | 'white') – Freesurfer surface to use as brain geometry.

  • views (str | Sequence[str]) – One or several views to show in the figure. The options are: 'lateral', 'medial', 'ventral', 'dorsal', 'rostral', 'parietal', 'frontal', 'caudal'.

  • hemi ('lh' | 'rh' | 'both' | 'split') – Which hemispheres to plot (default includes hemisphere with more than one label in the annot file).

  • borders (bool | int) – Show only label borders (PySurfer Brain.add_annotation() argument).

  • alpha (float) – Alpha of the annotation (1=opaque, 0=transparent, default 0.7).

  • axw (int) – Figure width per hemisphere.

  • foreground (mayavi color) – Figure foreground color (i.e., the text color).

  • background (mayavi color) – Figure background color.

  • seeds (bool) – Plot seeds as points (only applies to seeded parcellations).

  • ... – State parameters.

  • w (int) –

  • h (int) –

  • axh (int) –

Returns:

  • brain (Brain) – PySurfer Brain with the parcellation plot.

  • legend (ColorList) – ColorList figure with the legend.