pyhs3.exceptions.UnconstrainedParameterError¶
- exception pyhs3.exceptions.UnconstrainedParameterError(message, parameters)[source]¶
Raised when a parameter that gets no constraint term must be
constbut is free.A per-bin HistFactory parameter (
shapesysorstaterror) whose bin has a positive yield but zero uncertainty gets no constraint term; pyhf and ROOT fix it at its nominal value. Left free, it would float unconstrained.