petab.simplify

Functionality for simplifying PEtab problems

Functions

condition_parameters_to_parameter_table(problem)

Move parameters from the condition table to the parameters table, if the same parameter value is used for all conditions.

remove_nan_measurements(problem)

Drop any measurements that are NaN

remove_unused_conditions(problem)

Remove conditions that have no measurements

remove_unused_observables(problem)

Remove observables that have no measurements

simplify_problem(problem)

petab.simplify.condition_parameters_to_parameter_table(problem: Problem)[source]

Move parameters from the condition table to the parameters table, if the same parameter value is used for all conditions.

petab.simplify.remove_nan_measurements(problem: Problem)[source]

Drop any measurements that are NaN

petab.simplify.remove_unused_conditions(problem: Problem)[source]

Remove conditions that have no measurements

petab.simplify.remove_unused_observables(problem: Problem)[source]

Remove observables that have no measurements