This is documentation for an old release of SciPy (version 1.8.1). Read this page in the documentation of the latest stable release (version 1.16.2).

scipy.odr.OdrStop#

exception scipy.odr.OdrStop[source]#

Exception stopping fitting.

You can raise this exception in your objective function to tell odr to stop fitting.

with_traceback()#

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