amici.petab_import_pysb
PEtab import for PySB models
Deprecated since version 0.21.0: Use amici.petab.pysb_import instead.
- 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[str,pathlib.Path,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: