sme.Model

class sme.Model

the spatial model

Methods

__init__(self, filename)

export_sbml_file(self, filename)

exports the model as a spatial SBML file

export_sme_file(self, filename)

exports the model as a sme file

import_geometry_from_image(self, filename)

sets the geometry of each compartment to the corresponding pixels in the supplied geometry image

simulate(*args, **kwargs)

Overloaded function.

simulation_results(self)

returns the simulation results.

Attributes

compartment_image

an image of the compartments in this model

compartments

the compartments in this model

membranes

the membranes in this model

name

the name of this model

parameters

the parameters in this model