sbmlsim.simulation.change
¶
Module handling changes.
Module Contents¶
Classes¶
Change class. |
|
ComputeChange class. |
- class sbmlsim.simulation.change.Change(target, sid=None, name=None)[source]¶
Bases:
sbmlsim.simulation.base.BaseObject
Change class.
A model might need to undergo pre-processing before simulation. Those pre-processing steps are specified in the listOfChanges via the Change class on Model. Changes can be of the following types: - Changes based on mathematical calculations (ComputeChange) - Changes on attributes of the model (ChangeAttribute) - For XML-encoded models, changes on any XML snippet of the model’s XML representation
(AddXML, ChangeXML, RemoveXML)
- Parameters:
target (sbmlsim.simulation.base.Target) –
sid (str) –
name (str) –
- class sbmlsim.simulation.change.ComputeChange(sid, target, name=None)[source]¶
Bases:
sbmlsim.simulation.calculation.Calculation
ComputeChange class.
The ComputeChange class permits to change the numerical value of any single element or attribute of a Model addressable by a target, based on a calculation.
- Parameters:
sid (str) –
target (sbmlsim.simulation.base.Target) –
name (str) –