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
Add 1LHAASO to gammapy.catalog #4595
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 @QRemy ! I propose we merge this now, and add more support by the next release
Signed-off-by: <quentin.remy@live.fr>
Signed-off-by: <quentin.remy@live.fr>
Signed-off-by: <quentin.remy@live.fr>
Co-authored-by: Bruno Khélifi <khelifi@in2p3.fr>
Co-authored-by: Bruno Khélifi <khelifi@in2p3.fr>
Signed-off-by: <quentin.remy@live.fr>
Co-authored-by: Atreyee Sinha <asinha@ucm.es>
Signed-off-by: <quentin.remy@live.fr>
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 again, @QRemy
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 @QRemy . This looks good. I have left a few minor inline comments.questions.
|
||
errs = { | ||
"lat_0": pos_err / scale_r95, | ||
"lon_0": pos_err / scale_r95 / np.cos(lat_0), |
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.
why is the division by cos(lat) necessary?
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.
not sure it is the same for 4FGL and 3HWC catalogue.
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 see that this was introduced after issue #2460 . I suppose this implies that the error in the table is given as a proper angular separation and one wants to correct for that. Does this apply all the time?
Co-authored-by: Régis Terrier <regis.terrier@m4x.org>
Codecov Report
@@ Coverage Diff @@
## main #4595 +/- ##
==========================================
+ Coverage 95.05% 95.07% +0.02%
==========================================
Files 221 222 +1
Lines 31573 31723 +150
==========================================
+ Hits 30013 30162 +149
- Misses 1560 1561 +1
... and 7 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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!
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 @QRemy
Add 1LHAASO catalog class.
This requires to add the catalog FITS file to gammapy-data.