Closed alexander-held closed 2 years ago
Merging #356 (5c3fdf6) into master (aee8689) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #356 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 23 23
Lines 1999 2001 +2
Branches 326 326
=========================================
+ Hits 1999 2001 +2
Impacted Files | Coverage Δ | |
---|---|---|
src/cabinetry/visualize/__init__.py | 100.00% <ø> (ø) |
|
src/cabinetry/model_utils.py | 100.00% <100.00%> (ø) |
|
src/cabinetry/tabulate.py | 100.00% <100.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Adds per-sample yield uncertainty calculations and the propagation to yield tables.
The per-sample calculation is not implemented as an optional choice, but always performed. With everything already vectorized, the calculation is still fast with reasonably large models. If this becomes a bottleneck, it may make sense to allow making the per-sample calculation optional.
resolves #191
resolves #326 by switching to
awkward._v2
for the summation where this mattersbreaking changes:
model_utils.ModelPrediction
changed: new sample dimension fortotal_stdev_model_bins
/total_stdev_model_channels
model_utils.yield_stdev
returns this new version ofModelPrediction