visbrain.mne.mne_plot_source_space

visbrain.mne.mne_plot_source_space(fif_file, active_data=None, hemisphere='both', kw_brain_obj={}, kw_source_obj={}, kw_activation={}, show=True)[source][source]

Plot source space.

Parameters
fif_filestring

Full path to the .fif file.

active_dataarray_like | None

The data to set to vertices.

hemisphere{‘left’, ‘both’, ‘right’}

The hemisphere to plot.

kw_brain_objdict | {}

Additional inputs to pass to the BrainObj class.

kw_source_objdict | {}

Additional inputs to pass to the SourceObj class.

kw_activationdict | {}

Additional inputs to pass to the BrainObj.add_activation method.

showbool | False

If True, the window of the Brain module is automatically displayed. If False, a BrainObj and a SourceObj are returned. Finally, if ‘scene’ a SceneObj is returned.

Returns
b_objBrainObj

A predefined BrainObj (if show=False)

s_objSourceObj

A predefined SourceObj, hide by default (if show=False)

Examples using visbrain.mne.mne_plot_source_space