+
Skip to content

Conversation

TomDonoghue
Copy link
Member

@TomDonoghue TomDonoghue commented Jun 29, 2023

It turns out in our bandwidth limits warning, the variables were flipped such that it printed out wrong.

For example, with a frequency resolution of 1, and a bandwidth limit of 0.5, the current code would print:
FOOOF WARNING: Lower-bound peak width limit is < or ~= the frequency resolution: 1.00 <= 0.50

Which is unhelpfully wrong...

This PR fixes this, by switching the variables to report properly. From my checks, I think it is just the warning that prints out wrong - the actual checks of the values seem correct.

This responds to this issue as reported in #244

@voytek
Copy link
Contributor

voytek commented Jun 29, 2023

Oops! Glad it's not a code issue, just a warning issue.

@TomDonoghue TomDonoghue added the 1.1 Targetted for a fooof 1.1 release. label Jun 29, 2023
@TomDonoghue TomDonoghue merged commit 3649bbe into main Jun 29, 2023
@TomDonoghue TomDonoghue deleted the bwwarn branch June 29, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.1 Targetted for a fooof 1.1 release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载