diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-08-30 09:15:20 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-08-30 09:15:20 -0500 |
commit | 5d8a61777f8d7a65402c3bbd776041c9466d33c9 (patch) | |
tree | 59637b196f7d38c50312b0853e484a5f16d9ae79 /utils/chi2 | |
parent | af9dc4f29d548fe4a3c9b9ef68540d88c2a1fc9e (diff) | |
download | sddm-5d8a61777f8d7a65402c3bbd776041c9466d33c9.tar.gz sddm-5d8a61777f8d7a65402c3bbd776041c9466d33c9.tar.bz2 sddm-5d8a61777f8d7a65402c3bbd776041c9466d33c9.zip |
update bins when adding energy resolution
This commit updates the first bins that we use before applying the
energy resolution in the chi2 script. The reason we do this is because
when adding the energy resolution, events outside of the original bins
may migrate into the first and last bin.
Diffstat (limited to 'utils/chi2')
-rwxr-xr-x | utils/chi2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ def get_mc_hists_fast(ke_dict,x,bins,apply_norm=False): mc_hists = {} # FIXME: May need to increase number of bins here - bins2 = np.logspace(np.log10(20),np.log10(10e3),100) + bins2 = np.logspace(np.log10(10),np.log10(20e3),100) bincenters2 = (bins2[1:] + bins2[:-1])/2 for id in (20,22,2020,2022,2222): |