mne_denoise.viz.plot_window_score_traces#
- mne_denoise.viz.plot_window_score_traces(scores, threshold=None, ax=None, show=True, fname=None)[source]#
Plot per-window score traces from a 2D score matrix.
- Parameters:
- scoresarray-like of shape (n_windows, n_scores)
Score matrix to display.
- thresholdfloat | None
Optional horizontal threshold line.
- axmatplotlib.axes.Axes | None
Target axes. If None, a new themed figure is created.
- showbool, default=True
If True, display the figure.
- fnamepath-like | None
Optional output path used to save the figure.
- Returns:
- figmatplotlib.figure.Figure
Figure handle.