mne.viz.
plot_source_estimates
(stc, subject=None, surface='inflated', hemi='lh', colormap='auto', time_label='time=%0.2f ms', smoothing_steps=10, transparent=None, alpha=1.0, time_viewer=False, config_opts=None, subjects_dir=None, figure=None, views='lat', colorbar=True, clim='auto')¶Plot SourceEstimates with PySurfer
Note: PySurfer currently needs the SUBJECTS_DIR environment variable, which will automatically be set by this function. Plotting multiple SourceEstimates with different values for subjects_dir will cause PySurfer to use the wrong FreeSurfer surfaces when using methods of the returned Brain object. It is therefore recommended to set the SUBJECTS_DIR environment variable or always use the same value for subjects_dir (within the same Python session).
Parameters: | stc : SourceEstimates
subject : str | None
surface : str
hemi : str, ‘lh’ | ‘rh’ | ‘split’ | ‘both’
colormap : str | np.ndarray of float, shape(n_colors, 3 | 4)
time_label : str
smoothing_steps : int
transparent : bool | None
alpha : float
time_viewer : bool
config_opts : dict
subjects_dir : str
figure : instance of mayavi.core.scene.Scene | list | int | None
views : str | list
colorbar : bool
clim : str | dict
|
---|---|
Returns: | brain : Brain
|