-
Notifications
You must be signed in to change notification settings - Fork 15
[Bugfix] EDC normalization #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f-brinkmann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine as a bugfix before we tackle #116.
| is_energy=False, | ||
| time_shift=True, | ||
| channel_independent=False, | ||
| channel_independent=True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were wrong before to counter the bug, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it appears like the channel_independent=True and channel_independent=False behavior was swapped.
Changes proposed in this pull request:
channel_independent=True/normalization=Truetakes the nanmax per channel and divides the edc by itchannel_independent=False/normalization=Truetakes the nanmax across all channels and divides the edc by itnp.nanmaxis usedNote
The case presented in the weekly works correctly now.