Changing histosys interpolation codes #1393
-
I am trying to explore the effect of different interpolation codes in histosys modifiers, and I am believe these should be already implemented, however I cannot find anywhere in the documentation any information on how to set them. I have looked at the source, and tried experimenting with the parameter configuration in the measurement, or as kwargs in the pyhf.infer.mle.fit method, but to no avail. Any help is much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can set them when creating the model, example: workspace = pyhf.Workspace(spec)
model = workspace.model(
modifier_settings={"normsys": {"interpcode": "code4"}, "histosys": {"interpcode": "code4p"}}
) These are the default settings. The available interpolations are |
Beta Was this translation helpful? Give feedback.
You can set them when creating the model, example:
These are the default settings.
The available interpolations are
"code0", "code1", "code2", "code4", "code4p"
. I did not see this documented in thepyhf.Model
documentation or under_ModelConfig
, so it might be a good idea to add it there (or maybe under Interpolators).