amici
AMICI
The AMICI Python module provides functionality for importing SBML or PySB models and turning them into C++ Python extensions.
Module Attributes
absolute root path of the amici repository or Python package |
|
absolute path of the amici swig directory |
|
absolute path of the amici source directory |
|
absolute root path of the amici module |
|
boolean indicating if amici was compiled with hdf5 support |
Functions
|
Import Python module of an AMICI model |
Classes
|
Type of AMICI-generated model modules. |
|
Context manager for temporarily changing PYTHONPATH. |
|
Context manager for temporarily changing PYTHONPATH. |
Exceptions
Error thrown if an AMICI model is loaded that is incompatible with the installed AMICI base package |
- exception amici.AmiciVersionError[source]
Error thrown if an AMICI model is loaded that is incompatible with the installed AMICI base package
- class amici.ModelModule(*args, **kwargs)[source]
Type of AMICI-generated model modules.
To enable static type checking.
- __init__(*args, **kwargs)
- class amici.add_path(path)[source]
Context manager for temporarily changing PYTHONPATH.
Add a path to the PYTHONPATH for the duration of the context manager.
- amici.amiciModulePath = '/home/docs/checkouts/readthedocs.org/user_builds/amici/checkouts/v0.31.0/python/sdist/amici'
absolute root path of the amici module
- amici.amiciSrcPath = '/home/docs/checkouts/readthedocs.org/user_builds/amici/checkouts/v0.31.0/python/sdist/amici/src'
absolute path of the amici source directory
- amici.amiciSwigPath = '/home/docs/checkouts/readthedocs.org/user_builds/amici/checkouts/v0.31.0/python/sdist/amici/swig'
absolute path of the amici swig directory
- amici.amici_path = '/home/docs/checkouts/readthedocs.org/user_builds/amici/checkouts/v0.31.0/python/sdist/amici'
absolute root path of the amici repository or Python package
- amici.import_model_module(module_name, module_path)[source]
Import Python module of an AMICI model
- Parameters:
module_name (
str
) – Name of the python package of the modelmodule_path (
pathlib.Path
|str
) – Absolute or relative path of the package directory
- Return type:
- Returns:
The model module