Back to the main Index

Interactive Parameter Slider

Interactive parameter slider for IPython Notebooks and roadrunner models.


In [1]:
from __future__ import print_function, division

import tellurium as te
from tellurium.notebooks import ParameterSlider

r = te.loada('''
      model pathway()
        S1 -> S2; k1*S1 - k2*S2 # Reversible term added here

        # Initialize values
        S1 = 5; S2 = 0;
        k1 = 0.1;  k2 = 0.05;

      end
''')



In [2]:
ParameterSlider(r, paramIds=['k1', 'k2']);



In [ ]: