SciPy

scipy.integrate.complex_ode.get_return_code

complex_ode.get_return_code()[source]

Extracts the return code for the integration to enable better control if the integration fails.