mne.viz.plot_bem

mne.viz.plot_bem(subject=None, subjects_dir=None, orientation='coronal', slices=None, brain_surfaces=None, src=None, show=True)[source]

Plot BEM contours on anatomical slices.

Parameters
subjectstr

Subject name.

subjects_dirstr | None

Path to the SUBJECTS_DIR. If None, the path is obtained by using the environment variable SUBJECTS_DIR.

orientationstr

‘coronal’ or ‘axial’ or ‘sagittal’.

sliceslist of int

Slice indices.

brain_surfacesNone | str | list of str

One or more brain surface to plot (optional). Entries should correspond to files in the subject’s surf directory (e.g. "white").

srcNone | SourceSpaces | str

SourceSpaces instance or path to a source space to plot individual sources as scatter-plot. Only sources lying in the shown slices will be visible, sources that lie between visible slices are not shown. Path can be absolute or relative to the subject’s bem folder.

showbool

Show figure if True.

Returns
figinstance of matplotlib.figure.Figure

The figure.

Examples using mne.viz.plot_bem