Skip to content

Check if all errors are drawn #443

@bryates

Description

@bryates

If the errors are missing on the last bin, remove [1:] from

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions