mne.viz.plot_evoked_field

mne.viz.plot_evoked_field(evoked, surf_maps, time=None, time_label='t = %0.0f ms', n_jobs=1, fig=None, vmax=None, n_contours=21, verbose=None)[source]

Plot MEG/EEG fields on head surface and helmet in 3D.

Parameters
evokedinstance of mne.Evoked

The evoked object.

surf_mapslist

The surface mapping information obtained with make_field_map.

timefloat | None

The time point at which the field map shall be displayed. If None, the average peak latency (across sensor types) is used.

time_labelstr | None

How to print info about the time instant visualized.

n_jobsint

The number of jobs to run in parallel (default 1). If -1, it is set to the number of CPU cores. Requires the joblib package.

figinstance of mayavi.core.api.Scene | None

If None (default), a new figure will be created, otherwise it will plot into the given figure.

New in version 0.20.

vmaxfloat | None

Maximum intensity. Can be None to use the max(abs(data)).

New in version 0.21.

n_contoursint

The number of contours.

New in version 0.21.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Returns
figinstance of mayavi.mlab.Figure

The mayavi figure.