-
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
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
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
(gammapy/gammapy-datasets/1.1/ebl/ebl_dominguez11.fits.gz) Improved SED plot Added plot on relative uncertainty of SED measurements
Because in this way it is obvious, at the very moment you call the function, that the integral is some sort of approximation (specifically, a power-law). I really see no advantage in passing the function. |
No, that randomization is done inside each Etrue bin, you will always have the same number of events (with slightly different distribution within the bin). As for reproducibility, I will just fix the random seed. But effect of that randomization, for this kind of estimator, is negligible. |
Done: |
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.
I left some last minor comments, but overall it looks good.
The telescope performance is stored in the csv files The background is obtained from good-quality real data, the gamma IRF from MC