Skip to content

Model fitting unsuccessful with certain versions of dependencies #343

@sydney-smith

Description

@sydney-smith

FOOOFGroup is mysteriously not fitting certain power spectra, returning the error:

Running FOOOFGroup across 125 power spectra.
Model fitting was unsuccessful  
Model fitting was unsuccessful  
Model fitting was unsuccessful  
Model fitting was unsuccessful

Error occurred with the following dependencies:
python=3.12.4
numpy=1.26.4
scipy=1.13.0

Power spectra were normal on inspection, with no outstanding features that would cause a failed fit.

When we run the same analysis on the same data with the following dependencies, no error is produced and all power spectra are successfully fit.

Successful dependency versions:
python=3.9.21
numpy=2.0.2
scipy=1.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    code / maintenanceTopic related to code updates / maintenance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions