amici.petab_import_pysb
PySB-PEtab Import
Import a model in the PySB-adapted petab
(https://github.com/PEtab-dev/PEtab) format into AMICI.
Functions
|
Create AMICI model from PySB-PEtab problem |
- amici.petab_import_pysb.import_model_pysb(petab_problem, model_output_dir=None, verbose=True, model_name=None, **kwargs)[source]
Create AMICI model from PySB-PEtab problem
- Parameters
petab_problem (
petab.problem.Problem
) – PySB PEtab problemmodel_output_dir (
typing.Union
[pathlib.Path
,str
,None
]) – Directory to write the model code to. Will be created if doesn’t exist. Defaults to current directory.verbose (
typing.Union
[bool
,int
,None
]) – Print/log extra information.model_name (
typing.Optional
[str
]) – Name of the generated model modulekwargs – Additional keyword arguments to be passed to
amici.pysb_import.pysb2amici()
.
- Return type