Skip to content

Problem on retrieving aperiodic and peak data from Group object with get_data #316

@maschpall

Description

@maschpall

Hi,

I am using fooof version 1.1 and loaded and fited a FOOOFGroup model to later extract the 'aperiodic' and 'peak' data (not params) and found that they are NonType. This is not the case for the 'full' version, which gives me the spectrum output.

I checked that has_data = True and that when I save the results save_data = True too.

To further check i downloaded the data from the tutorial 04: Exploring the FOOOF Object and here when using fm.get_data worked for all 'full', 'aperiodic' and 'peak'.
Then I downloaded the data and followed the tutorial from 06: FOOOFGroup and when I extracted an individual fit, get_data again did not worked for 'aperiodic' and 'peak'.

Also when trying get_params to the group object that the Tutorial computes also did not give any output for neither the 3 of them.

Am I doing something wrong? Is there a way to extract the aperiodic corrected spectrums? I find myself now substracting the get_model('aperiodic') from the get_data('full') to obtain it

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions