Skip to content

Commit 3649bbe

Browse files
authored
Merge pull request #268 from fooof-tools/bwwarn
[MNT] - Fix order of reporting values in bw limits warning
2 parents 12e085d + c52d0a3 commit 3649bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fooof/core/strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def gen_width_warning_str(freq_res, bwl):
3636
output = '\n'.join([
3737
'',
3838
'FOOOF WARNING: Lower-bound peak width limit is < or ~= the frequency resolution: ' + \
39-
'{:1.2f} <= {:1.2f}'.format(freq_res, bwl),
39+
'{:1.2f} <= {:1.2f}'.format(bwl, freq_res),
4040
'\tLower bounds below frequency-resolution have no effect ' + \
4141
'(effective lower bound is the frequency resolution).',
4242
'\tToo low a limit may lead to overfitting noise as small bandwidth peaks.',

0 commit comments

Comments
 (0)