mne.viz.
plot_epochs
(epochs, picks=None, scalings=None, n_epochs=20, n_channels=20, title=None, show=True, block=False)¶Visualize epochs
Bad epochs can be marked with a left click on top of the epoch. Bad channels can be selected by clicking the channel name on the left side of the main axes. Calling this function drops all the selected bad epochs as well as bad epochs marked beforehand with rejection parameters.
Parameters: | epochs : instance of Epochs
picks : array-like of int | None
scalings : dict | ‘auto’ | None
n_epochs : int
n_channels : int
title : str | None
show : bool
block : bool
|
---|---|
Returns: | fig : Instance of matplotlib.figure.Figure
|
Notes
The arrow keys (up/down/left/right) can be used to navigate between
channels and epochs and the scaling can be adjusted with - and + (or =)
keys, but this depends on the backend matplotlib is configured to use
(e.g., mpl.use(TkAgg
) should work). Full screen mode can be toggled
with f11 key. The amount of epochs and channels per view can be adjusted
with home/end and page down/page up keys. Butterfly plot can be toggled
with b
key. Right mouse click adds a vertical line to the plot.
New in version 0.10.0.