sbmlsim.model.model
¶
Models.
Functions for model loading, model manipulation and settings on the integrator. Model can be in different formats, main supported format being SBML.
Other formats could be supported like CellML or NeuroML.
Module Contents¶
Classes¶
Abstract base class to store a model in sbmlsim. |
Attributes¶
- class sbmlsim.model.model.AbstractModel(source, sid=None, name=None, language=None, language_type=LanguageType.SBML, base_path=None, changes=None, selections=None)[source]¶
Bases:
object
Abstract base class to store a model in sbmlsim.
Depending on the model language different subclasses are implemented.
- Parameters:
source (Union[str, pathlib.Path]) –
sid (Optional[str]) –
name (Optional[str]) –
language (Optional[str]) –
language_type (LanguageType) –
base_path (Optional[pathlib.Path]) –
changes (Dict) –
selections (List[str]) –
- normalize(uinfo)[source]¶
Normalize values to model units for all changes.
- Parameters:
uinfo (sbmlsim.units.UnitsInformation) –