ODE Printing Utilities

Created on Sat Dec 16 10:36:22 2017 @author: hsauro

odePrint.getODEsFromSBMLFile(fileName)[source]

Given a SBML file name, this function returns the model as a string of rules and ODEs

Parameters:

fileName (string) – The path and name of the SBML file

Example

>>> print (te.getODEsFromSBMLFile ('mymodel.xml'))
odePrint.getODEsFromSBMLString(sbmlStr)[source]

Given a SBML string this fucntion returns the model as a string of rules and ODEs

Parameters:

sbmlStr (string) – A string representing an SBML model

Example

>>> print (te.getODEsFromSBMLString (sbmlStr))
odePrint.getODEsFromModel(sbmlModel)[source]

Given a roadrunner instance this function returns a string of rules and ODEs

Parameters:

sbmlModel (string) – A reodarunner instance

Example

>>> r = te.loada ('S1 -> S2; k1*S1; k1=1')
>>> print (te.getODEsFromModel (r))