cvode-wrap 0.1.3

A wrapper around cvode and cvodeS from sundials, allowing to solve ordinary differential equations (ODEs) with or without their sensitivities.
Documentation
1
2
3
4
5
6
7
8
import pandas as pd
import sys
import matplotlib.pyplot as plt

df = pd.read_csv(sys.stdin,names=['t','x',r'\dot{x}',r"dx_dx0", r"d\dot{x}_dx0", r"dx_d\dot{x}0", r"d\dot{x}_d\dot{x}0", r"dx_dk", r"d\dot{x}_dk"],index_col='t')
ax = df.plot(subplots=True)
plt.suptitle(r"\dotdot{x} = -k*x")
plt.show()