MCPcopy
hub / github.com/mne-tools/mne-python / plot_evoked

Function plot_evoked

mne/viz/evoked.py:973–1142  ·  view source on GitHub ↗

Plot evoked data using butterfly plots. Left click to a line shows the channel name. Selecting an area by clicking and holding left mouse button plots a topographic map of the painted area. .. note:: If bad channels are not excluded they are shown in red. Parameters ----------

(
    evoked,
    picks=None,
    exclude="bads",
    unit=True,
    show=True,
    ylim=None,
    xlim="tight",
    proj=False,
    hline=None,
    units=None,
    scalings=None,
    titles=None,
    axes=None,
    gfp=False,
    window_title=None,
    spatial_colors=False,
    zorder="unsorted",
    selectable=True,
    noise_cov=None,
    time_unit="s",
    sphere=None,
    *,
    highlight=None,
    verbose=None,
)

Source from the content-addressed store, hash-verified

971
972@verbose
973def plot_evoked(
974 evoked,
975 picks=None,
976 exclude="bads",
977 unit=True,
978 show=True,
979 ylim=None,
980 xlim="tight",
981 proj=False,
982 hline=None,
983 units=None,
984 scalings=None,
985 titles=None,
986 axes=None,
987 gfp=False,
988 window_title=None,
989 spatial_colors=False,
990 zorder="unsorted",
991 selectable=True,
992 noise_cov=None,
993 time_unit="s",
994 sphere=None,
995 *,
996 highlight=None,
997 verbose=None,
998):
999 """Plot evoked data using butterfly plots.
1000
1001 Left click to a line shows the channel name. Selecting an area by clicking
1002 and holding left mouse button plots a topographic map of the painted area.
1003
1004 .. note:: If bad channels are not excluded they are shown in red.
1005
1006 Parameters
1007 ----------
1008 evoked : instance of Evoked
1009 The evoked data.
1010 %(picks_all)s
1011 exclude : list of str | ``'bads'``
1012 Channels names to exclude from being shown. If ``'bads'``, the
1013 bad channels are excluded.
1014 unit : bool
1015 Scale plot with channel (SI) unit.
1016 show : bool
1017 Show figure if True.
1018 %(evoked_ylim_plot)s
1019 xlim : ``'tight'`` | tuple | None
1020 Limits for the X-axis of the plots.
1021 %(proj_plot)s
1022 hline : list of float | None
1023 The values at which to show an horizontal line.
1024 units : dict | None
1025 The units of the channel types used for axes labels. If None,
1026 defaults to ``dict(eeg='µV', grad='fT/cm', mag='fT')``.
1027 scalings : dict | None
1028 The scalings of the channel types to be applied for plotting. If None,
1029 defaults to ``dict(eeg=1e6, grad=1e13, mag=1e15)``.
1030 titles : dict | None

Callers 1

plotMethod · 0.85

Calls 1

_plot_evokedFunction · 0.85

Tested by

no test coverage detected