fooof.plts.fg.plot_fg¶
-
fooof.plts.fg.
plot_fg
(fg, save_fig=False, file_name=None, file_path=None)[source]¶ Plot a figure with subplots visualizing the parameters from a FOOOFGroup object.
- Parameters
- fgFOOOFGroup
Object containing results from fitting a group of power spectra.
- save_figbool, optional, default: False
Whether to save out a copy of the plot.
- file_namestr, optional
Name to give the saved out file.
- file_pathstr, optional
Path to directory to save to. If None, saves to current directory.
- Raises
- NoModelError
If the FOOOF object does not have model fit data available to plot.