fermi-lat / Likelihood

BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Allowing to build plot on smaller energy intervals #73

Open eacharles opened 4 years ago

eacharles commented 4 years ago

https://jira.slac.stanford.edu/projects/LK/issues/LK-125

eacharles commented 4 years ago

I don't see how the proposed fix really solves the problem. It just offsets it by a decade. The test seems kinda artificial. Would it be better to have a simpler test, like the two number being more that 10% apart or something like that: ie:

if emax / emin < 1.1: return None else: return (emin, emax)