sme

Spatial Model Editor Python interface

Python bindings to a subset of the functionality available in the full GUI Spatial Model Editor

https://spatial-model-editor.readthedocs.io/

Functions

open_example_model(name)

opens a built in example spatial model

open_file(filename)

opens a sme or SBML file containing a spatial model

open_sbml_file(filename)

opens an SBML file containing a spatial model

Classes

Compartment

a compartment where species live

CompartmentList

a list of Compartment objects

ConcentrationType

Members:

Membrane

a membrane where two compartments meet

MembraneList

a list of Membrane objects

Model

the spatial model

Parameter

a parameter of the model

ParameterList

a list of Parameter objects

Reaction

a reaction between species

ReactionList

a list of Reaction objects

ReactionParameter

a parameter of a reaction

ReactionParameterList

a list of ReactionParameter objects

SimulationResult

results at a single timepoint of a simulation

SimulationResultList

a list of SimulationResult objects

SimulatorType

Members:

Species

a species that lives in a compartment

SpeciesList

a list of Species objects

Exceptions

InvalidArgument

RuntimeError