[SciPy-user] Getting the set of parameters from a leastsq function at each iteration.

Anne Archibald peridot.faceted@gmail....
Fri Apr 4 12:47:01 CDT 2008

On 04/04/2008, Doreen Mbabazi <doreen@aims.ac.za> wrote:

>  y = odeint(f,initial_y,t,args=(p,))
>  def S(t,p):
>     v = y[:,2]
>     return v

Here you are running odeint only once. You must run it every time S is


More information about the SciPy-user mailing list