sbmlmath.species_symbol¶
SBML MathML related functionality
Classes
|
Represents a |
- class sbmlmath.species_symbol.SpeciesSymbol(*args, representation_type=None, species_reference=None, **kwargs)[source]¶
Bases:
DummyRepresents a
<ci>element containing a species.Represents, for example,
<ci multi:representationType="sum"> bla </ci>or<ci multi:speciesReference="refS"> S </ci>(see SBML multi specs 3.26).Subclassed from
sympy.Dummyto avoid caching issues, due to using the same name but with different attributes / meanings.- Parameters:
>>> SpeciesSymbol("S") + SpeciesSymbol("S", representation_type="sum") _S + _S
>>> SpeciesSymbol("S") == SpeciesSymbol("S", representation_type="sum") False
>>> SpeciesSymbol("ref_to_S", species_reference="S") <ref_to_S(species_reference=S)>