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_maps
list
The surface mapping information obtained with make_field_map.
- time
float
|None
The time point at which the field map shall be displayed. If None, the average peak latency (across sensor types) is used.
- time_label
str
|None
How to print info about the time instant visualized.
- n_jobs
int
|None
The number of jobs to run in parallel. If
-1
, it is set to the number of CPU cores. Requires thejoblib
package.None
(default) is a marker for ‘unset’ that will be interpreted asn_jobs=1
(sequential execution) unless the call is performed under ajoblib.parallel_backend()
context manager that sets another value forn_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.
- vmax
float
|None
Maximum intensity. Can be None to use the max(abs(data)).
New in version 0.21.
- n_contours
int
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.
- verbose
bool
|str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- evokedinstance of
- Returns:
- figinstance of
Figure3D
The figure.
- figinstance of