-
Notifications
You must be signed in to change notification settings - Fork 9
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
Tune magic nsb #236
Tune magic nsb #236
Conversation
also modified the way how the random number generator is initiated for NSB adding, before it was initiating it for every event with obs_id as a seed, so the random numbers were the ssame for all the events now we use obs_id + event number
at the same time the defaults of LST are slightly changed (so they match those in MAGIC)
Hi @jsitarek, I was checking the PR. Just a naïve question: why do we need two different NSB corrections for the 2 MAGIC? It is due to a different level of simulated (DL0) background, to the different features of the telescopes or to the (slightly) different FOV? |
Hi @Elisa-Visentin |
Ok thank you! |
There seems to be a failing test due to no M1 M2 stereo events in the training sample. I will check it on my laptop asap just to be sure that everything is fine (i.e., only statistics) |
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.
Tests to be fixed before merging
This is to avoid failing a test due to missing M1+M2 event
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #236 +/- ##
==========================================
+ Coverage 77.19% 77.23% +0.04%
==========================================
Files 21 21
Lines 2605 2614 +9
==========================================
+ Hits 2011 2019 +8
- Misses 594 595 +1 ☔ View full report in Codecov by Sentry. |
a script to derive the missing NSB noise in MAGIC part of the simulations and the modifications to the calibration to allow adding the noise also for MAGIC