mici.errors module#

Exception types.

exception mici.errors.AdaptationError[source]#

Bases: Error

Error raised when adaptation of transition parameters fails.

args#
with_traceback()#

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

exception mici.errors.ConvergenceError[source]#

Bases: IntegratorError

Error raised when solver fails to converge within allowed iterations.

args#
with_traceback()#

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

exception mici.errors.Error[source]#

Bases: RuntimeError

Base class for errors.

args#
with_traceback()#

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

exception mici.errors.HamiltonianDivergenceError[source]#

Bases: IntegratorError

Error raised when integration of Hamiltonian dynamics diverges.

args#
with_traceback()#

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

exception mici.errors.IntegratorError[source]#

Bases: Error

Error raised when integrator step fails.

args#
with_traceback()#

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

exception mici.errors.LinAlgError[source]#

Bases: Error

Error raised when a matrix operation raises a linear algebra error.

args#
with_traceback()#

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

exception mici.errors.NonReversibleStepError[source]#

Bases: IntegratorError

Error raised when integrator step fails reversibility check.

args#
with_traceback()#

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

exception mici.errors.ReadOnlyStateError[source]#

Bases: Error

Error raised when writing to attributes of read-only chain state.

args#
with_traceback()#

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