exception

exception zfit.exception.NameAlreadyTakenError[source]

Bases: Exception

args
with_traceback()

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

exception zfit.exception.IllegalInGraphModeError[source]

Bases: Exception

args
with_traceback()

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

exception zfit.exception.NormRangeNotImplementedError[source]

Bases: Exception

Indicates that a function does not support the normalization range argument norm_range.

args
with_traceback()

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

exception zfit.exception.MultipleLimitsNotImplementedError[source]

Bases: Exception

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

args
with_traceback()

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

exception zfit.exception.VectorizedLimitsNotImplementedError[source]

Bases: Exception

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

args
with_traceback()

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

exception zfit.exception.AnalyticNotImplementedError(*args)[source]

Bases: zfit.util.exception.ZfitNotImplementedError

General exception if an analytic way is not implemented

args
with_traceback()

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

exception zfit.exception.FunctionNotImplementedError(*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

args
with_traceback()

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

exception zfit.exception.AnalyticSamplingNotImplementedError(*args)[source]

Bases: zfit.util.exception.AnalyticNotImplementedError

If analytic sampling from a distribution is not possible.

args
with_traceback()

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

exception zfit.exception.AnalyticIntegralNotImplementedError(*args)[source]

Bases: zfit.util.exception.AnalyticNotImplementedError

If an analytic integral is not provided.

args
with_traceback()

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

exception zfit.exception.SpecificFunctionNotImplementedError(*args)[source]

Bases: zfit.util.exception.FunctionNotImplementedError

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

args
with_traceback()

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