KaiHabermann / decayangle

https://kaihabermann.github.io/decayangle/
MIT License
1 stars 1 forks source link

Disable numerical safety with a flag #31

Closed KaiHabermann closed 7 months ago

KaiHabermann commented 7 months ago

Add the ability to disable the numerical safety checks, like the check for rest frame systems and so on. This may be needed for data, which is not perfectly sanitized or contains background or measurement uncertainty. Here you can then possibly drop all values which become nan or +-inf.

codecov-commenter commented 7 months ago

Codecov Report

Attention: Patch coverage is 73.33333% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 86.90%. Comparing base (a70fd82) to head (f54d63f).

Files Patch % Lines
src/decayangle/config.py 81.81% 1 Missing and 1 partial :warning:
src/decayangle/kinematics.py 0.00% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #31 +/- ## ========================================== + Coverage 85.96% 86.90% +0.94% ========================================== Files 6 6 Lines 577 588 +11 Branches 100 102 +2 ========================================== + Hits 496 511 +15 + Misses 45 42 -3 + Partials 36 35 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.