Skip to content

Shape only systematics #445

Discussion options

You must be logged in to vote

Hi Tomoya, there is currently no option for this. I think this should be in scope for cabinetry though and not too difficult to implement. I added #447 to track this.

The easiest way at the moment would probably be to have a custom post-processing script that removes normsys modifiers from the workspace for all the cases where you would like to use such systematics. Below is an example which uses the example workspace created by example.py:

import cabinetry

ws = cabinetry.workspace.load("workspaces/example_workspace.json")

MOD_NAMES_TO_PRUNE = ["Modeling"]  # modifiers name to prune
MOD_TYPE_TO_PRUNE = ["normsys"]  # modifier types to prune

# the ws object is just a dictionary, iterate…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tomoya-Iizawa
Comment options

Answer selected by Tomoya-Iizawa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants