Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for creating petab problems from scratch #220

Open
dweindl opened this issue Jul 25, 2023 · 0 comments
Open

API for creating petab problems from scratch #220

dweindl opened this issue Jul 25, 2023 · 0 comments

Comments

@dweindl
Copy link
Member

dweindl commented Jul 25, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant