mne.viz.plot_evoked_field#

mne.viz.plot_evoked_field(evoked, surf_maps, time=None, time_label='t = %0.0f ms', n_jobs=None, fig=None, vmax=None, n_contours=21, *, interaction='terrain', 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 | None

The number of jobs to run in parallel. If -1, it is set to the number of CPU cores. Requires the joblib package. None (default) is a marker for ‘unset’ that will be interpreted as n_jobs=1 (sequential execution) unless the call is performed under a joblib.parallel_backend() context manager that sets another value for n_jobs.

figinstance of Figure3D | 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.

interaction‘trackball’ | ‘terrain’

How interactions with the scene via an input device (e.g., mouse or trackpad) modify the camera position. If 'terrain', one axis is fixed, enabling “turntable-style” rotations. If 'trackball', movement along all axes is possible, which provides more freedom of movement, but you may incidentally perform unintentional rotations along some axes. Defaults to 'terrain'.

New in version 1.1.

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 Figure3D

The figure.