Skip to content

Frequency Range not working #327

Open
@TurboAlpaca

Description

When defining the frequency range to plot it uses the default values. I am unable to change it for either plotting, reporting, or fitting the model to the PSD. I've copied and pasted the code from the tutorial and it still does not work. I checked using the latest version available on google colab and in V.S. code python 3.11 with version specparam - 2.0.0

image

Activity

TomDonoghue

TomDonoghue commented on Jun 29, 2024

@TomDonoghue
Member

Hey @TurboAlpaca - thanks for the note on this, this is a bug / issue in the current development release that accidentally failed to pass the frequency range parameter through internally.

It's already been in fixed in the follow commit (which is part of this branch / PR):
42abfed

This means that the current development version on that branch is fixed, but any install from PYPI will currently have this bug. There should be a new release to PYPI soon (but might be a few days / a week or two) as I'm currently travelling. In the meantime, you can step back to the rc1 version, which shouldn't have this issue, and/or install from the above linked PR for the fix.

TurboAlpaca

TurboAlpaca commented on Jul 1, 2024

@TurboAlpaca
Author

Great, this was able to solve the issue! Thank you for the quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Frequency Range not working · Issue #327 · fooof-tools/fooof