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

Correct the gain selection mask #513

Merged

Conversation

FrancaCassol
Copy link
Collaborator

  • 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

Copy link
Contributor

@rlopezcoto rlopezcoto left a 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
Copy link

codecov bot commented Sep 15, 2020

Codecov Report

Merging #513 into master will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            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     
Impacted Files Coverage Δ
lstchain/calib/camera/calibrator.py 28.04% <0.00%> (-0.35%) ⬇️
lstchain/calib/camera/flatfield.py 18.18% <0.00%> (-0.17%) ⬇️
lstchain/calib/camera/pedestals.py 19.31% <0.00%> (-0.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c31d1c4...42cf062. Read the comment docs.

@@ -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,..]
Copy link
Member

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"?

Copy link
Collaborator Author

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?

@rlopezcoto rlopezcoto merged commit e0f6a76 into cta-observatory:master Sep 23, 2020
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