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:
  • scores (array-like of shape (n_windows, n_scores)) – Score matrix to display.

  • threshold (float | None) – Optional horizontal threshold line.

  • ax (matplotlib.axes.Axes | None) – Target axes. If None, a new themed figure is created.

  • show (bool, default=True) – If True, display the figure.

  • fname (path-like | None) – Optional output path used to save the figure.

Returns:

fig – Figure handle.

Return type:

matplotlib.figure.Figure