Closed HealthyPear closed 3 years ago
Merging #133 (f88d9ad) into master (9149e12) will increase coverage by
0.16%
. The diff coverage is91.66%
.
@@ Coverage Diff @@
## master #133 +/- ##
==========================================
+ Coverage 60.30% 60.46% +0.16%
==========================================
Files 23 23
Lines 2091 2102 +11
==========================================
+ Hits 1261 1271 +10
- Misses 830 831 +1
Impacted Files | Coverage Δ | |
---|---|---|
protopipe/scripts/write_dl2.py | 82.45% <ø> (ø) |
|
protopipe/pipeline/event_preparer.py | 69.88% <88.88%> (+0.53%) |
:arrow_up: |
protopipe/scripts/data_training.py | 94.94% <100.00%> (+0.07%) |
:arrow_up: |
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 9149e12...f88d9ad. Read the comment docs.
In this PR
concentration
is added to the output of theEventPreparer
class, so it is written out toTRAINING
andDL2
formats.It is only computed for the extended image (aka with all clusters)
ctapipe outputs concentration in 3 different definitions, none of which seem to coincide with the one used by CTAMARS, but we can use
concentration_pixel = image.max() / h.intensity
as a good approximation