fooof.plts.aperiodic.plot_aperiodic_fits

fooof.plts.aperiodic.plot_aperiodic_fits(aps, freq_range, control_offset=False, log_freqs=False, colors=None, labels=None, ax=None, plot_style=<function style_param_plot at 0x7fd2f73007a0>, **plot_kwargs)[source]

Plot reconstructions of model aperiodic fits.

Parameters
aps2d array

Aperiodic parameters. Each row is a parameter set, as [Off, Exp] or [Off, Knee, Exp].

freq_rangelist of [float, float]

The frequency range to plot the peak fits across, as [f_min, f_max].

control_offsetboolean, optonal, default: False

Whether to control for the offset, by setting it to zero.

log_freqsboolean, optonal, default: False

Whether to plot the x-axis in log space.

colorsstr or list of str, optional

Color(s) to plot data.

labelslist of str, optional

Label(s) for plotted data, to be added in a legend.

axmatplotlib.Axes, optional

Figure axes upon which to plot.

plot_stylecallable, optional, default: style_param_plot

A function to call to apply styling & aesthetics to the plot.

**plot_kwargs

Keyword arguments to pass into the plot call.

Examples using fooof.plts.aperiodic.plot_aperiodic_fits