fooof.objs.average_reconstructions

fooof.objs.average_reconstructions(fg, avg_method='mean')[source]

Average across model reconstructions for a group of power spectra.

Parameters
fgFOOOFGroup

Object with model fit results to average across.

avg{‘mean’, ‘median’}

Averaging function to use.

Returns
freqs1d array

Frequency values for the average model reconstruction.

avg_model1d array

Power values for the average model reconstruction. Note that power values are in log10 space.