Exception#

Todo

Add module docstring.

zfit.exception.NormRangeNotImplemented#

alias of zfit.util.exception.NormNotImplemented

exception zfit.exception.MultipleLimitsNotImplemented[source]#

Bases: zfit.util.exception.StandardControlFlow

Indicates that a function does not support several limits in a Space.

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception zfit.exception.VectorizedLimitsNotImplemented[source]#

Bases: zfit.util.exception.StandardControlFlow

Indicates that a function does not support vectorized (n_events > 1) limits in a Space.

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception zfit.exception.AnalyticNotImplemented(*args)[source]#

Bases: zfit.util.exception.ZfitNotImplementedError

General exception if an analytic way is not implemented.

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception zfit.exception.FunctionNotImplemented(*args)[source]#

Bases: zfit.util.exception.ZfitNotImplementedError

Any function, e.g. in a BaseModel, that not implemented and a fallback should be called.

Preferably use more specific exceptions

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception zfit.exception.AnalyticSamplingNotImplemented(*args)[source]#

Bases: zfit.util.exception.AnalyticNotImplemented

If analytic sampling from a distribution is not possible.

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception zfit.exception.AnalyticIntegralNotImplemented(*args)[source]#

Bases: zfit.util.exception.AnalyticNotImplemented

If an analytic integral is not provided.

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception zfit.exception.SpecificFunctionNotImplemented(*args)[source]#

Bases: zfit.util.exception.FunctionNotImplemented

If a specific function, e.g. by the user is not implemented.

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception zfit.exception.InitNotImplemented[source]#

Bases: zfit.util.exception.StandardControlFlow

Indicates that a minimize method does not support a FitResult instead of a loss.

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.