Skip to content

Pre fit and post fit, CLs plots #1769

Answered by alexander-held
ssaha1234 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Shreya, pyhf provides a function to draw the Cls distribution via contrib.viz.brazil.

cabinetry provides functionality to calculate the required information for plots and to draw figures, without having to implement everything from scratch. For pre-/post-fit plots, the relevant modules of cabinetry are model_utils (includes calculation of yields & uncertainties) and visualize (plotting). visualize also can draw a CLs distribution. You can find some examples of the usage in these two notebooks: notebook 1, notebook 2 (from the cabinetry-tutorials repository). For cabinetry, it might also be interesting to note that there is a significant performance improvement for the post-fit uncertai…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@matthewfeickert
Comment options

@ssaha1234
Comment options

Answer selected by ssaha1234
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants