Skip to content

API for creating petab problems from scratch #220

@dweindl

Description

@dweindl

It would be nice to have some high-level API to create PEtab problems from scratch, instead of manually assembling the dataframes.

Something like

pp = petab.Problem()
pp.add_condition("conditionId", param1=2, param2=3)
pp.add_observable("observable1", formula="x1", ...)
pp.add_measurement(observable_id="observable1", time=2.5, measurement=1.337, noise_parameters=0.1, ...)
pp.add_parameter(parameter_id="p1", estimated=False, nominal_value=42)

Ideally also some API for dropping conditions / observables / measurements and potentially for modifying conditions / observables / measurements.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions