sbmlsim.examples.experiments.initial_assignment.initial_assignment

Example simulation experiment.

Module Contents

Classes

AssignmentExperiment

Testing initial assignments.

Functions

run(output_path)

Run the example.

Attributes

base_path

output_path

sbmlsim.examples.experiments.initial_assignment.initial_assignment.base_path[source]
class sbmlsim.examples.experiments.initial_assignment.initial_assignment.AssignmentExperiment(sid=None, base_path=None, data_path=None, ureg=None, **kwargs)[source]

Bases: sbmlsim.experiment.SimulationExperiment

Testing initial assignments.

Parameters
  • sid (str) –

  • base_path (pathlib.Path) –

  • data_path (pathlib.Path) –

  • ureg (sbmlsim.units.UnitRegistry) –

models(self)[source]

Define model definitions.

The child classes fill out the information.

Return type

Dict[str, sbmlsim.model.AbstractModel]

tasks(self)[source]

Define task definitions.

The child classes fill out the information.

Return type

Dict[str, sbmlsim.task.Task]

datagenerators(self)[source]

Define DataGenerators including functions.

All data which is accessed in a simulation result must be defined in a data generator. The data generators are important for defining the selections of a simulation experiment.

Return type

None

simulations(self)[source]

Define simulation definitions.

The child classes fill out the information.

Return type

Dict[str, sbmlsim.simulation.AbstractSim]

figures(self)[source]

Figure definition.

Selections accessed in figures and analyses must be registered beforehand via datagenerators.

Most figures do not require access to concrete data, but only abstract data concepts.

Return type

Dict[str, sbmlsim.plot.Figure]

sbmlsim.examples.experiments.initial_assignment.initial_assignment.run(output_path)[source]

Run the example.

sbmlsim.examples.experiments.initial_assignment.initial_assignment.output_path[source]