pyhs3.exceptions.UnconstrainedParameterError

exception pyhs3.exceptions.UnconstrainedParameterError(message, parameters)[source]

Raised when a parameter that gets no constraint term must be const but is free.

A per-bin HistFactory parameter (shapesys or staterror) 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.

Variables:

parameters – The parameters that must be const, sorted.

Parameters: