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_file : string

Full path to the .fif file.

active_data : array_like | None

The data to set to vertices.

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

The hemisphere to plot.

kw_brain_obj : dict | {}

Additional inputs to pass to the BrainObj class.

kw_source_obj : dict | {}

Additional inputs to pass to the SourceObj class.

kw_activation : dict | {}

Additional inputs to pass to the BrainObj.add_activation method.

show : bool | 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_obj : BrainObj

A predefined BrainObj (if show=False)

s_obj : SourceObj

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

Examples using visbrain.mne.mne_plot_source_space