mici.errors module#

Exception types.

exception mici.errors.AdaptationError[source]#

Bases: Error

Error raised when adaptation of transition parameters fails.

add_note()#

Exception.add_note(note) – add a note to the exception

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.

add_note()#

Exception.add_note(note) – add a note to the exception

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.

add_note()#

Exception.add_note(note) – add a note to the exception

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.

add_note()#

Exception.add_note(note) – add a note to the exception

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.

add_note()#

Exception.add_note(note) – add a note to the exception

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.

add_note()#

Exception.add_note(note) – add a note to the exception

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.

add_note()#

Exception.add_note(note) – add a note to the exception

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.

add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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