Skip to content

Conversation

@hoyer-a
Copy link
Member

@hoyer-a hoyer-a commented Jan 13, 2026

Changes proposed in this pull request:

  • channel_independent=True / normalization=True takes the nanmax per channel and divides the edc by it
  • channel_independent=False / normalization=True takes the nanmax across all channels and divides the edc by it
  • Instead of using the first sample of the edc as max value np.nanmax is used

Note

The case presented in the weekly works correctly now.

@hoyer-a hoyer-a added this to the v0.4.2 milestone Jan 13, 2026
@hoyer-a hoyer-a added the bug Something isn't working label Jan 13, 2026
Copy link
Member

@f-brinkmann f-brinkmann left a 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,
Copy link
Member

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?

Copy link
Member Author

@hoyer-a hoyer-a Jan 13, 2026

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.

@github-project-automation github-project-automation bot moved this from Backlog to Reviewer Approved in Weekly Planning Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Reviewer Approved

Development

Successfully merging this pull request may close these issues.

3 participants