cta-observatory / pyirf

Python IRF builder
https://pyirf.readthedocs.io/en/stable/
MIT License
15 stars 25 forks source link

Add Extrapolator Utilizing Visible Edges Blending #253

Closed RuneDominik closed 7 months ago

RuneDominik commented 1 year ago

The current ParametrizedNearestSimplexExtrapolator, while requiring minimal assumptions, does not result in a smooth extrapolation. Discontinuous results occur where the nearest simplex changes from one to another and with it the used templates. Blending over visible edges [1] solves this but ofc. introduces further assumptions.

[1] P. Alfred (1984). Triangular Extrapolation. Technical summary rept., Univ. of Wisconsin-Madison. https://apps.dtic.mil/sti/pdfs/ADA144660.pdf

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0059d3b) 95.40% compared to head (e871e8e) 95.60%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #253 +/- ## ========================================== + Coverage 95.40% 95.60% +0.20% ========================================== Files 60 62 +2 Lines 3135 3278 +143 ========================================== + Hits 2991 3134 +143 Misses 144 144 ```

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