pyhf.exceptions.InvalidModel#

exception pyhf.exceptions.InvalidModel[source]#

InvalidModel is raised when a given model does not have the right configuration, even though it validates correctly against the schema.

This can occur, for example, when the provided parameter of interest to fit against does not get declared in the specification provided.