Currently, opinf.models.ContinuousModel.predict() wraps scipy.integrate.solve_ivp(). It would be nice to be able to pass a custom time-stepper, probably as the method attribute. This is also important for certain types of models, like Hamiltonian systems, which require symplectic integrators.
Need to think about how the integrator should interact with the list of operators or the model's rhs() method.
Currently,
opinf.models.ContinuousModel.predict()wrapsscipy.integrate.solve_ivp(). It would be nice to be able to pass a custom time-stepper, probably as themethodattribute. This is also important for certain types of models, like Hamiltonian systems, which require symplectic integrators.IntegratorTemplatesomewhere (newopinf.integratesubmodule?)predict()so thatmethodcan be an integrator object.Need to think about how the integrator should interact with the list of
operatorsor the model'srhs()method.