You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyhf.pdf._MainModel._modifications is useful for model visualization and debugging. See for example #1639 (comment). It also came up in the discussion #1414. This function is currently not part of the public API. Given its usefulness, I propose changing that. This suggestion also came up in #1461 (comment).
Two alternatives are possible: using the _modifications API even though it signals it is not public (accepting a possible breaking change in the future), or re-implementing it externally.
Summary
pyhf.pdf._MainModel._modifications
is useful for model visualization and debugging. See for example #1639 (comment). It also came up in the discussion #1414. This function is currently not part of the public API. Given its usefulness, I propose changing that. This suggestion also came up in #1461 (comment).Two alternatives are possible: using the
_modifications
API even though it signals it is not public (accepting a possible breaking change in the future), or re-implementing it externally.Additional Information
See #1639 (comment) for example usage, this API could presumably also be used for
pyhf-validation/scripts/validate_systs.py
.Code of Conduct
The text was updated successfully, but these errors were encountered: