Be sure that you are looking at the right fields in the struct that is the EXPORTED_VARIABLE:
FOOOF parameters are stored in EXPORTED_VARIABLE.Options.FOOOF
If you want to reconstruct the aperiodic part of the spectrum.
- You can do it your self with the provided parameters:
Check this post (and the thread) for details and code to do so:
- Questions about fooof - #8 by Raymundo.Cassani
There are many other FOOOF threads that you may find relevant:
https://neuroimage.usc.edu/forums/tag/fooof
- You can export the aperiodic only in Brainstorm as spectrum file, so instead of the original PSD, it will have the aperiodic spectrum. This is described in the ** Convert FOOOF model parameters to regular PSD files** section:
https://neuroimage.usc.edu/brainstorm/Tutorials/Fooof#Convert_FOOOF_model_parameters_to_regular_PSD_files
Export to Matlab the resulting file specparam: x/yms Power | aperiodic, as the aperiodic spectrum will be in the field TF with the shape [nChannels, 1, nFreqs].