-
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
Notebook for quick simulation of LST1 observations #1313
base: main
Are you sure you want to change the base?
Conversation
The telescope performance is stored in the csv files The background is obtained from good-quality real data, the gamma IRF from MC
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1313 +/- ##
=======================================
Coverage 73.50% 73.50%
=======================================
Files 134 134
Lines 14211 14211
=======================================
Hits 10446 10446
Misses 3765 3765 ☔ View full report in Codecov by Sentry. |
Replaced gauss by skewnorm for migration matrix parametrization Added example spectra Pulsar mode
…stics were poor) Silenced useless warnings
Added another observation example (GRB190114C)
GRB190114C example & modified axis range
in the "pulsar mode" field it would be safer to put the overwritting of alpha and printing of it into |
in the integrate function, why not passing the dFdE function as a parameter and computing dfde1 and dfde2 inside the integrate function? |
there is a typo: "jus trplace" |
I am not sure if it is a good idea to randomize the position of the true energies when you calculate the energy migration. If I understand the code correctly this means that from one execution to another you will have a different number of times you sample a given true energy bin, and this will shift the events back and forth. Maybe best to have the fine binning in Etrue uniform and only randomize (or also use constant fine binning) in the migration factor |
As the final plot of the notebook will likely end up in many of the proposals, I would recommend to made some changes to it to unify how they look like: |
The telescope performance is stored in the csv files The background is obtained from good-quality real data, the gamma IRF from MC