mne.viz.plot_bem

mne.viz.plot_bem(subject=None, subjects_dir=None, orientation='coronal', slices=None, show=True)

Plot BEM contours on anatomical slices.

Parameters:

subject : str

Subject name.

subjects_dir : str | None

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

orientation : str

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

slices : list of int

Slice indices.

show : bool

Show figure if True.

Returns:

fig : Instance of matplotlib.figure.Figure

The figure.