Skip to content
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

Added routines for calibrating the LQ parameter #525

Merged
merged 5 commits into from
Dec 5, 2023

Conversation

erin717
Copy link
Contributor

@erin717 erin717 commented Nov 7, 2023

Defines a general class that contains the different functions used for calibrating the Late Charge (LQ) parameter, in a similar manner to AoE_cal.py. A few plotting functions are redundant with those found in AoE_cal.py. We should consider generalizing some of these plotting functions in the future for other PSD parameters.

There are some improvements to be made in the future, but these routines are stable enough that it's worth implementing as things currently are. The routines have been tested individually on all detectors with no issues. However, I'll leave as a draft as there may be some small edits to make and it needs testing with the main data production.

erin717 and others added 3 commits November 7, 2023 10:32
Defines a general class that contains the different functions used during the calibration process, in a similar manner to AoE_cal.py. A few plotting functions are redundant with those found in AoE_cal.py. We should consider generalizing some of these plotting functions in the future for other PSD parameters.
Copy link

codecov bot commented Nov 7, 2023

Codecov Report

Attention: 347 lines in your changes are missing coverage. Please review.

Comparison is base (7467d98) 19.20% compared to head (de891df) 18.17%.
Report is 28 commits behind head on main.

Files Patch % Lines
src/pygama/pargen/lq_cal.py 0.00% 347 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #525      +/-   ##
==========================================
- Coverage   19.20%   18.17%   -1.04%     
==========================================
  Files          31       33       +2     
  Lines        6479     7149     +670     
==========================================
+ Hits         1244     1299      +55     
- Misses       5235     5850     +615     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jasondet jasondet requested a review from ggmarshall December 4, 2023 17:45
src/pygama/pargen/lq_cal.py Outdated Show resolved Hide resolved
src/pygama/pargen/lq_cal.py Outdated Show resolved Hide resolved
@erin717 erin717 marked this pull request as ready for review December 5, 2023 17:06
@jasondet jasondet merged commit ad1be19 into legend-exp:main Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants