fooof.plts.error.plot_spectral_error

fooof.plts.error.plot_spectral_error(freqs, error, shade=None, log_freqs=False, ax=None, plot_style=<function style_spectrum_plot at 0x7fd2f7300710>, **plot_kwargs)[source]

Plot frequency by frequency error values.

Parameters
freqs1d array

Frequency values, to be plotted on the x-axis.

error1d array

Calculated error values or mean error values across frequencies, to plot on the y-axis.

shade1d array, optional

Values to shade in around the plotted error. This could be, for example, the standard deviation of the errors.

log_freqsbool, optional, default: False

Whether to plot the frequency axis in log 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 plot.

**plot_kwargs

Keyword arguments to be passed to plot_spectra or to the plot call.