def test_plot2DParameterScan(self): """Test plot2DParameterScan.""" import tellurium as te from tellurium.analysis.parameterscan import plot2DParameterScan r = te.loada(""" model test J0: S1 -> S2; Vmax * (S1/(Km+S1)) S1 = 10; S2 = 0; Vmax = 1; Km = 0.5; end """) s = r.simulate(0, 50, 101) # r.plot(s) import numpy as np plot2DParameterScan(r, p1='Vmax', p1Range=np.linspace(1, 10, num=5), p2='Vmax', p2Range=np.linspace(0.1, 1.0, num=5), start=0, end=50, points=101)
# coding: utf-8 # In[1]: #!!! DO NOT CHANGE !!! THIS FILE WAS CREATED AUTOMATICALLY FROM NOTEBOOKS !!! CHANGES WILL BE OVERWRITTEN !!! CHANGE CORRESPONDING NOTEBOOK FILE !!! import tellurium as te from tellurium.analysis.parameterscan import plot2DParameterScan # model definitions r = te.loada(""" model test J0: S1 -> S2; Vmax * (S1/(Km+S1)) S1 = 10; S2 = 0; Vmax = 1; Km = 0.5; end """) s = r.simulate(0, 20, 41) r.plot(s) import numpy as np plot2DParameterScan(r, p1='Vmax', p1Range=np.linspace(1, 10, num=5), p2='Vmax', p2Range=np.linspace(0.1, 1.0, num=5), start=0, end=50, points=101) # In[2]: