fooof.plts.annotate.plot_annotated_model¶
-
fooof.plts.annotate.
plot_annotated_model
(fm, plt_log=False, annotate_peaks=True, annotate_aperiodic=True, ax=None, plot_style=<function style_spectrum_plot at 0x7fd2f7300710>)[source]¶ Plot a an annotated power spectrum and model, from a FOOOF object.
- Parameters
- fmFOOOF
FOOOF object, with model fit, data and settings available.
- plt_logboolean, optional, default: False
Whether to plot the frequency values in log10 spacing.
- axmatplotlib.Axes, optional
Figure axes upon which to plot.
- plot_stylecallable, optional, default: style_spectrum_plot
A function to call to apply styling & aesthetics to the plots.
- Raises
- NoModelError
If there are no model results available to plot.