Skip to content

Commit

Permalink
- added documentation for sbml annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Jun 24, 2014
1 parent 7f5c611 commit 270e8ac
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions readme-sbml-annotation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#Spatial SBML Settings
The SpatialUI application uses a custom SBML annotation of the SBML `Model` element, to store the initial setup of a loaded spatial model. The format looks like this:

<spatialInfo xmlns="http://fbergmann.github.io/spatial-sbml/settings">
<update step="0.00001" freq="100"/>
<items>
<item sbmlId="p65_P_cytoplasm" palette="black-blue.txt" max="0.001"/>
...
</items>
</spatialInfo>

and is described in more detail below.

## The Update Element
The update element holds two attributes:

* `step` of type `double` describes the initial step size used for the model, and is to be chosen such that the integrator should not fall over immidiately.
* `freq` of type `int` describes how often the application should attempt to render the scene.

## The item element
The item element also consists of three elements:

* `sbmlId` of type `string` is the id of a spatial species to be visualized.
* `palette` of type `string` is the name of a palette to be used. It should be the value of one of the palettes distributed (and present) with `SpatialUI`
* `max` of type `double` is then the maximum value the species will take during the simulation. The values of the palette chosen will be scaled from [0...`max`] and assign `0` the min value of the palette, and `max` accordingly the highest value.

0 comments on commit 270e8ac

Please sign in to comment.