exception¶
-
exception
zfit.util.exception.
AlreadyExtendedPDFError
[source]¶ Bases:
zfit.util.exception.ExtendedPDFError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.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.util.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.util.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.util.exception.
AxesAmbiguousError
[source]¶ Bases:
zfit.util.exception.IntentionAmbiguousError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
AxesIncompatibleError
[source]¶ Bases:
zfit.util.exception.IncompatibleError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
AxesNotSpecifiedError
[source]¶ Bases:
zfit.util.exception.NotSpecifiedError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
BasePDFSubclassingError
[source]¶ Bases:
zfit.util.exception.SubclassingError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
BehaviorUnderDiscussion
(msg, *args)[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
BreakingAPIChangeError
(msg, *args)[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
CannotConvertToNumpyError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
ConversionError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
CoordinatesIncompatibleError
[source]¶ Bases:
zfit.util.exception.IncompatibleError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
CoordinatesUnderdefinedError
[source]¶ Bases:
zfit.util.exception.UnderdefinedError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
DataIsBatchedError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
ExtendedPDFError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.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.util.exception.
IllegalInGraphModeError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
IncompatibleError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
IntentionAmbiguousError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
InvalidLimitSubspaceError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
LimitsIncompatibleError
[source]¶ Bases:
zfit.util.exception.IncompatibleError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
LimitsNotSpecifiedError
[source]¶ Bases:
zfit.util.exception.NotSpecifiedError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
LimitsOverdefinedError
[source]¶ Bases:
zfit.util.exception.OverdefinedError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
LimitsUnderdefinedError
[source]¶ Bases:
zfit.util.exception.UnderdefinedError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
LogicalUndefinedOperationError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
MinimizeNotImplementedError
(*args)[source]¶ Bases:
zfit.util.exception.FunctionNotImplementedError
The minimize function of a minimizer is not implemented.
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
MinimizeStepNotImplementedError
(*args)[source]¶ Bases:
zfit.util.exception.FunctionNotImplementedError
The step function of a minimizer is not implemented.
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
ModelIncompatibleError
[source]¶ Bases:
zfit.util.exception.IncompatibleError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.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.util.exception.
NameAlreadyTakenError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.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.util.exception.
NormRangeNotSpecifiedError
[source]¶ Bases:
zfit.util.exception.NotSpecifiedError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
NormRangeUnderdefinedError
[source]¶ Bases:
zfit.util.exception.UnderdefinedError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
NotExtendedPDFError
[source]¶ Bases:
zfit.util.exception.ExtendedPDFError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
NotMinimizedError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
NotSpecifiedError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
NumberOfEventsIncompatibleError
[source]¶ Bases:
zfit.util.exception.ShapeIncompatibleError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
ObsIncompatibleError
[source]¶ Bases:
zfit.util.exception.IncompatibleError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
ObsNotSpecifiedError
[source]¶ Bases:
zfit.util.exception.NotSpecifiedError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
OperationNotAllowedError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
OverdefinedError
[source]¶ Bases:
zfit.util.exception.IntentionAmbiguousError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
PDFCompatibilityError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
ParameterNotIndependentError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
ShapeIncompatibleError
[source]¶ Bases:
zfit.util.exception.IncompatibleError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
SpaceIncompatibleError
[source]¶ Bases:
zfit.util.exception.IncompatibleError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.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.
-
-
exception
zfit.util.exception.
SubclassingError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
UnderdefinedError
[source]¶ Bases:
zfit.util.exception.IntentionAmbiguousError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.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.util.exception.
WeightsNotImplementedError
[source]¶ Bases:
Exception
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
WorkInProgressError
[source]¶ Bases:
Exception
Only for developing purpose! Does not serve as a ‘real’ Exception.
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
zfit.util.exception.
ZfitNotImplementedError
(*args)[source]¶ Bases:
NotImplementedError
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-