specparam.plts.error.plot_spectral_error¶
- specparam.plts.error.plot_spectral_error(freqs, error, shade=None, log_freqs=False, ax=None, **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_kwargs
Additional plot related keyword arguments, with styling options managed by
style_plot
.