Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if all errors are drawn #443

Open
bryates opened this issue Nov 15, 2024 · 0 comments
Open

Check if all errors are drawn #443

bryates opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@bryates
Copy link
Contributor

bryates commented Nov 15, 2024

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

@bryates bryates self-assigned this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant