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.