Using scipy version 0.18.0 and really scratching my head at the moment. I reduced the code to the following minimal example:
try to solve the easiest differential equation possible
def phase(t, y):
c1 = y
dydt = - c1
return dydt
c1 = 1.0
y0 = c1
t = np.linspace(0,1,100)
ode_obj = sp.integrate.ode(phase)
ode_obj.set_initial_value(y0)
sol = ode_obj.integrate(t)
The object tells me it was successful, but the return value is a numpy array of length 1.
The documentation is extremely sparse and I'm not sure if I'm using it incorrectly.
Thanks for the help guys.
Greetings.
