petab_select.petab

Classes

PetabMixin([petab_yaml, petab_problem, ...])

Useful things for classes that contain a PEtab problem.

class petab_select.petab.PetabMixin(petab_yaml=None, petab_problem=None, parameters_as_lists=False)[source]

Useful things for classes that contain a PEtab problem.

All attributes/methods are prefixed with petab_.

petab_yaml

The location of the PEtab problem YAML file.

petab_problem

The PEtab problem.

petab_parameters

The parameters from the PEtab parameters table, where keys are parameter IDs, and values are either ESTIMATE if the parameter is set to be estimated, else the nominal value.

__init__(petab_yaml=None, petab_problem=None, parameters_as_lists=False)[source]
property petab_parameter_ids_estimated: List[str]

Get the IDs of all estimated parameters.

Returns:

The parameter IDs.

property petab_parameter_ids_fixed: List[str]

Get the IDs of all fixed parameters.

Returns:

The parameter IDs.

property petab_parameters_singular: Dict[str, float | int | Literal['estimate']]

TODO deprecate and remove?