Skip to content

Bug fix on SiliconPulseDiscretization giving nan values sometimes. #1804

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

Merged
merged 6 commits into from
Apr 17, 2025

Conversation

ssedd1123
Copy link
Contributor

…scretization, and error is thrown if pulse heights are repeating at the any given time.

Briefly, what does this PR introduce?

What kind of change does this PR introduce?

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

Nothing.

Does this PR change default behavior?

PulseCombiner is enabled before SiliconPulseDiscretization to prevent overlapping pulses from causing errors when the class interpolate the time bins. If there are multiple pulse heights at the same time, this class still won't work, but it will throw an error instead of keep silence.

…scretization, and error is thrown if pulse heights are repeating at the any given time.
@github-actions github-actions bot added topic: PID Relates to PID reconstruction topic: barrel labels Apr 15, 2025
Copy link
Contributor

github-actions bot commented Apr 15, 2025

Copy link
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ssedd1123 ssedd1123 added this pull request to the merge queue Apr 17, 2025
Merged via the queue into main with commit 1d951fd Apr 17, 2025
90 checks passed
@ssedd1123 ssedd1123 deleted the pr/Discretization-bug-fix branch April 17, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants