cta-observatory / protopipe

Prototype data analysis pipeline for the Cherenkov Telescope Array Observatory
https://protopipe.readthedocs.io/en/latest/
Other
5 stars 13 forks source link

Add support for prod5N files #167

Closed HealthyPear closed 2 years ago

HealthyPear commented 2 years ago

This PRs allows for input checking and initialization of the required quantities from files belonging to Prod5 or Prod5b productions.

Closes #60

Support for integration tests will be added later.

codecov[bot] commented 2 years ago

Codecov Report

Merging #167 (740d495) into master (fc277c3) will decrease coverage by 0.73%. The diff coverage is 45.16%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #167      +/-   ##
==========================================
- Coverage   66.85%   66.11%   -0.74%     
==========================================
  Files          24       24              
  Lines        2359     2402      +43     
==========================================
+ Hits         1577     1588      +11     
- Misses        782      814      +32     
Impacted Files Coverage Δ
protopipe/pipeline/utils.py 49.26% <32.72%> (-6.23%) :arrow_down:
protopipe/scripts/write_dl2.py 81.11% <61.90%> (-1.15%) :arrow_down:
protopipe/scripts/data_training.py 92.10% <64.70%> (-1.11%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fc277c3...740d495. Read the comment docs.