[SciPy-user] Regarding odeint timestep interval
Fri Jun 26 15:33:21 CDT 2009
On Fri, Jun 26, 2009 at 8:52 AM, Ala Al-Shaibani<email@example.com> wrote:
> Hello all.
> I'm wondering, if instead of passing timestep interval to odeint, I just
> pass start and end range (for example: t = [0, 10]), what timestep interval
> would odeint use as default in this case?
The external integrator code for odeint (namely the fortran code
lsoda, see below) will select its own initial time step by default.
This should be controllable with the optional parameters you can pass
through scipy's wrapper. See
for those, in particular the parameter h0.
If you want to know more explicitly how it calculates the initial time
step, you need to read the original lsoda code to see how it works it
out. See here at around the tagged line 160:
More information about the SciPy-user