fooof.objs.combine_fooofs¶
- fooof.objs.combine_fooofs(fooofs)[source]¶
Combine a group of FOOOF and/or FOOOFGroup objects into a single FOOOFGroup object.
- Parameters
- fooofslist of FOOOF or FOOOFGroup
Objects to be concatenated into a FOOOFGroup.
- Returns
- fgFOOOFGroup
Resultant object from combining inputs.
- Raises
- IncompatibleSettingsError
If the input objects have incompatible settings for combining.
Examples
Combine FOOOF objects together (where fm1, fm2 & fm3 are assumed to be defined and fit):
>>> fg = combine_fooofs([fm1, fm2, fm3])
Combine FOOOFGroup objects together (where fg1 & fg2 are assumed to be defined and fit):
>>> fg = combine_fooofs([fg1, fg2])
Examples using fooof.objs.combine_fooofs
¶
Fitting Power Spectrum Models Across 3D Arrays
Fitting Power Spectrum Models Across 3D Arrays
Manipulating FOOOF Objects