petab_select.model_space
The ModelSpace class and related methods.
Functions
|
|
|
Parse a line from a model space file. |
|
Read a model space file. |
|
|
Classes
|
A model space, as a collection of model subspaces. |
- class petab_select.model_space.ModelSpace(model_subspaces)[source]
A model space, as a collection of model subspaces.
- model_subspaces
List of model subspaces.
- exclusions
Hashes of models that are excluded from the model space.
- reset_exclusions(exclusions=None)[source]
Reset the exclusions in the model subspaces.
- Return type:
- search(candidate_space, limit=inf, exclude=True)[source]
…TODO
- Parameters:
candidate_space (
CandidateSpace
) – The candidate space.limit (
int
) – The maximum number of models to send to the candidate space (i.e. this limit is on the number of models considered, not necessarily approved as candidates). Note that using a limit may produce unexpected results. For example, it may bias candidate models to be chosen only from a subset of model subspaces.exclude (
bool
) – Whether to exclude the new candidates from the model subspaces.