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
Start refactoring pyIRF #36
Conversation
Codecov Report
@@ Coverage Diff @@
## master #36 +/- ##
===========================================
+ Coverage 0.72% 72.12% +71.39%
===========================================
Files 9 29 +20
Lines 685 696 +11
===========================================
+ Hits 5 502 +497
+ Misses 680 194 -486
Continue to review full report at Codecov.
|
Implemented in this commit: * reading of EventDisplay DL2 fits files * Calculating event weights * Functions for binning events * Li&Ma Significance Definition of the internal data format, for now astropy.table.QTables with several columns expected for DL2 event lists. Co-authored-by: Michele Peresano <michele.peresano@cea.fr> Co-authored-by: Lukas Nickel <lukas.nickel@tu-dortmund.de>
Co-authored-by: Michele Peresano <michele.peresano@cea.fr> Co-authored-by: Lukas Nickel <lukas.nickel@tu-dortmund.de>
Co-authored-by: Michele Peresano <michele.peresano@cea.fr> Co-authored-by: Lukas Nickel <lukas.nickel@tu-dortmund.de>
The hEMC contains events weighted to a spectrum of -2.5, not the number of simulated CORSIKA showers. We now compute this information from the guesstimated number of runs (number of unique obs ids from the events table) and the run header information.
Short update here: With the current version of the script in At the moment, we do:
|
As far as I understood we are then only missing the 3rd step, which is to re-calculate the bin-wise 68% containment angular cut after the g/h bin-wise optimization |
we could add the codacy badga again though, for me it was working |
If it works, great. Maybe codacy was just down for a while when I tried. |
It should: the badge was pointing to this url- though, it's the master, the PR should be automatic I think I will re-add it by copy-pasting the original RST command from their website just to be sure there wasn't a typo what about the GitHub pages build? what are the equivalent RST links for image and target? I think we are good to merge now |
I just realized that we should probably add Modifying |
Implemented in the first commit:
Definition of the internal data format, for now astropy.table.QTables
with several columns expected for DL2 event lists.
Co-authored-by: Michele Peresano michele.peresano@cea.fr
Co-authored-by: Lukas Nickel lukas.nickel@tu-dortmund.de
More to come