-
Notifications
You must be signed in to change notification settings - Fork 77
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
Correct the gain selection mask #513
Correct the gain selection mask #513
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @FrancaCassol, could you add a comment in the code on why for the meantime we are leaving no_gain_selection[1] = 1
?
Codecov Report
@@ Coverage Diff @@
## master #513 +/- ##
==========================================
- Coverage 41.50% 41.48% -0.02%
==========================================
Files 77 77
Lines 6498 6501 +3
==========================================
Hits 2697 2697
- Misses 3801 3804 +3
Continue to review full report at Codecov.
|
@@ -189,7 +189,7 @@ def _calibrate_dl1(self, event, telid): | |||
# TBD: - perform calibration of the R1 waveform (not DL1) | |||
# - gain selection before charge integration | |||
|
|||
|
|||
# In case of no gain selection the selected gain channels are [0,0,..][1,1,..] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not "no gain selection", right? This is "always choose high-gain"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, this is no gain selection, why do you say that?
Correct the present gain mask that would bring to wrong results if the charge integration correction is activated (which is not the case now)
Remove an obsolete card in the configuration file