mne_denoise.viz.plot_guided_asr_weights#

mne_denoise.viz.plot_guided_asr_weights(estimator, *, title: str | None = None, ax=None, show: bool = True, fname: str | None = None)[source]#

Plot experimental GuidedASR soft weights by window and component.

Parameters:
estimatorGuidedASR

A fitted estimator that has run transform and whose diagnostics_ contains soft_weights.

titlestr | None, default=None

Custom figure title.

axmatplotlib.axes.Axes | None, default=None

Axes to plot into. If None, create a themed figure.

showbool, default=True

Whether to call plt.show().

fnamestr | None, default=None

Optional output path.

Returns:
figmatplotlib.figure.Figure

Figure containing the heatmap.

axmatplotlib.axes.Axes

Axes containing the heatmap.