-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
If the errors are missing on the last bin, remove [1:] from
topeft/analysis/topeft_run2/make_cr_and_sr_plots.py
Lines 1225 to 1227 in ea1aaa3
| nom_arr_all = hist_mc_integrated[{"process": sum}].integrate("systematic","nominal").eval({})[()][1:] | |
| p_err_arr = nom_arr_all + np.sqrt(shape_systs_summed_arr_p + rate_systs_summed_arr_p)[1:] # This goes in the main plot | |
| m_err_arr = nom_arr_all - np.sqrt(shape_systs_summed_arr_m + rate_systs_summed_arr_m)[1:] # This goes in the main plot |
and add
bin_edges_arr = np.append(bin_edges_arr ,0) (might need to figure out next entry instead of 0) to| bin_edges_arr = histo.axes[var].edges |
Metadata
Metadata
Assignees
Labels
No labels