legend-exp / pygama

Python package for data processing and analysis
https://pygama.readthedocs.io
GNU General Public License v3.0
18 stars 56 forks source link

Cross talk correction code for `build_evt()` #572

Closed tdixon97 closed 4 months ago

tdixon97 commented 4 months ago

This contains code to cross talk correct the energies inside the evt tier. The underlying operations are performed in the evt/modules/cross_talk.py module acting on awkward arrays. The correction is applied recursively in a simple way to GERDA.

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 50.09%. Comparing base (daa9530) to head (18c32c3). Report is 17 commits behind head on main.

Files Patch % Lines
src/pygama/evt/modules/xtalk.py 62.28% 43 Missing :warning:
src/pygama/evt/modules/geds.py 0.00% 28 Missing :warning:
src/pygama/hit/build_hit.py 7.14% 26 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #572 +/- ## ========================================== + Coverage 50.05% 50.09% +0.03% ========================================== Files 63 59 -4 Lines 7581 7749 +168 ========================================== + Hits 3795 3882 +87 - Misses 3786 3867 +81 ```

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