mutwo.common_utilities¶
Object |
Documentation |
---|---|
|
Raise for invalid envelope combinations in |
Raise for invalid error of ‘start_at’ in |
|
Raise in case backtracking algorithm can’t find any solution |
- class InvalidMinimaCurveAndMaximaCurveCombination[source]¶
Bases:
Exception
Raise for invalid envelope combinations in
mutwo.common_generators.Tendency
.Public Data Attributes:
Inherited from
BaseException
args
Public Methods:
Inherited from
BaseException
with_traceback
Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
- class UnequalEnvelopeDurationError(minima_curve, maxima_curve)[source]¶
Bases:
InvalidMinimaCurveAndMaximaCurveCombination
Public Data Attributes:
Inherited from
BaseException
args
Public Methods:
Inherited from
BaseException
with_traceback
Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
- class InvalidStartAtValueError(start_at)[source]¶
Bases:
ValueError
Raise for invalid error of ‘start_at’ in
mutwo.common_generators.ActivityLevel
Public Data Attributes:
Inherited from
BaseException
args
Public Methods:
Inherited from
BaseException
with_traceback
Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
- Parameters:
start_at (int) –
- class NoSolutionFoundError[source]¶
Bases:
Exception
Raise in case backtracking algorithm can’t find any solution
Public Data Attributes:
Inherited from
BaseException
args
Public Methods:
Inherited from
BaseException
with_traceback
Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.