threeML / hawc_hal

HAWC Accelerated Likelihood - python-only framework for HAWC data analysis
BSD 3-Clause "New" or "Revised" License
11 stars 22 forks source link

Implement low count case in display_spectrum(). #3

Closed colasri closed 6 years ago

colasri commented 6 years ago

Implemented the function foreseen in raise NotImplementedError("Low-counts case not implemented yet"), use asymmetric Poisson 68% confidence interval from expectation (model+background).

codecov[bot] commented 6 years ago

Codecov Report

Merging #3 into master will decrease coverage by 0.29%. The diff coverage is 66.66%.

@@            Coverage Diff            @@
##           master       #3     +/-   ##
=========================================
- Coverage   93.77%   93.47%   -0.3%     
=========================================
  Files          38       38             
  Lines        1429     1441     +12     
=========================================
+ Hits         1340     1347      +7     
- Misses         89       94      +5