-
Notifications
You must be signed in to change notification settings - Fork 78
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
Feature/post dl2 analysis #509
Feature/post dl2 analysis #509
Conversation
Check out this pull request on Review Jupyter notebook visual diffs & provide feedback on notebooks. Powered by ReviewNB |
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.
Hi.
Thank you for your contribution, this will be useful!
Before we can make a proper review, please address the unit tests issues and the two bugs I noted here (the comment on the data_path
is more of an improvement feature).
Also, as this is completely part of lstchain, I would rename the submodule as |
Codecov Report
@@ Coverage Diff @@
## master #509 +/- ##
==========================================
- Coverage 38.54% 37.52% -1.03%
==========================================
Files 80 82 +2
Lines 7116 7339 +223
==========================================
+ Hits 2743 2754 +11
- Misses 4373 4585 +212
Continue to review full report at Codecov.
|
Looks like the CI is stalled for some reason. Does anyone know what could be the reason? |
Could it be the conflicting files? |
@mexanick if the PR is ready, you should mark the "Ready for review" button. In any case and as @morcuended pointed out, you need to solve the conflicts with those two files. |
- Data mangling utilities added to lstchain.io module - Camera-related utilities are placed under lstchain.reco.utils module - launching script and anlaysis routines are added too - TODO: reshuffle plotting utilities and offload statistics to gammapy
- Fix memory-efficient data reading and subrun merging - Provide configuration examples - Minor bugfixes in plotting
… different nights
f039e1f
to
e910a2b
Compare
I'm not sure if that was because of the conflict (honestly, I doubt it, looks like some travis glitch), but I have resolved it. |
@mexanick Travis cannot run the PR build of there are conflicts. The PR build (unlike the "branch" build) is done by merging the PR branch into master and then running the tests. This is not possible when there are conflicts. https://docs.travis-ci.com/user/pull-requests/#my-pull-request-isnt-being-built |
Thanks! I'm used more to gitlab CI which would just build the branch first, so it goes through anyway. |
@mexanick once the tests are passing I can do the review |
Actually, the failed test is radec to camera function which failed being unable to resolve the url, I'm not sure how I can fix it... I'm afraid that's a systematic issue which affects all the on-going PRs. And considering the Codacy review, it is about unused variable |
0e9203e
to
745c824
Compare
Implementing some comments
- Update documentation - Passing the telescope focal length as a parameter (can be retrieved from data, but this is not implemented. Can be done in user scripts if needed) - Conversion factor for theta2 calculation is left as is (parameter). Can also be sourced from DL2 file but requires reading in the complete geometry to get the distance between pixel centers and focal length - Update the statistics to conform with latest gammapy release - Provide the interface to store the resulting images through configuration file
- Update jupyter notebook to represent interactive and non-interactive modes - Fix theta2 computation w.r.t. dimensional data - Minor logging and plotting updates
Hi @mexanick |
hi @vuillaut |
I still think that some things could be improved but it works and would be useful to have as long as we don't have a proper DL3 pipeline so I will approve |
Draft implementation of the Fast Analysis LST Plots (fast alps) analysis framework.
It aims to provide a common framework for DL2-level analysis implementation and simplify the integration of other analyses by: