A Python Interface for the MATLAB package DEBtool, a package with tools for Dynamic Energy Budget models.
Project description
DEBtool-Python-Interface
DEBtoolPyIF is a Python package that interfaces with the MATLAB package DEBtool for Dynamic Energy Budget (DEB) model parameter estimation.
The package currently focuses on two capabilities:
- Template-driven generation of DEBtool species files (
mydata,pars_init,predict,run) following DEBtool naming and structure conventions. - A multitier estimation workflow to estimate DEB parameters across hierarchical levels (for example, individual and higher-level entities).
The project is under active development (0.x), with the multitier workflow being the most mature part of the package.
Quick Start Imports
For the main multitier workflow, the package now exposes a curated top-level API:
from DEBtoolPyIF import DataCollection, MultiTierStructure, TierEstimator, TierHierarchy
Concrete observation types remain grouped under DEBtoolPyIF.data_sources:
from DEBtoolPyIF.data_sources import (
DigestibilityEntityDataSource,
TimeFeedGroupDataSource,
TimeWeightEntityDataSource,
)
Installation
You can install DEBtoolPyIF using pip:
pip install DEBtoolPyIF
To use the package you also need to install the MATLAB package DEBtool. You can download it from its GitHub repository. It is recommended to add the DEBtool folder to the MATLAB path.
You also need to install the MATLAB Engine API for Python. You can find instructions on how to install it in the official documentation.
Troubleshooting the installation of the MATLAB Engine API for Python
If you are having trouble installing the MATLAB Engine API for Python, you can try the following:
- Open a terminal in administrator mode.
- Install from the MATLAB folder
cd "matlabroot\extern\engines\python"
python -m pip install .
Citation
If you use the multitier methodology implemented in this package, please cite:
Oliveira, D.F, Marques, G.M., Carolino, N., Pais, J.,Sousa, J.M.C., Domingos, T., 2024. A multi-tier methodology for the estimation of individual-specific parameters of DEB models. Ecological Modelling 494, 110779. https://doi.org/10.1016/j.ecolmodel.2024.110779
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file debtoolpyif-0.2.0.tar.gz.
File metadata
- Download URL: debtoolpyif-0.2.0.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
483347073a120d7b6a68acc550662735142fd8fe16717963a3a7e68c93937ed7
|
|
| MD5 |
efa720e1478e695f1ab28c79fe9cac5c
|
|
| BLAKE2b-256 |
862fac29ccb29afc62dd7301966e73dd6a0425f1ec1dd8827117a5cf107d0961
|
Provenance
The following attestation bundles were made for debtoolpyif-0.2.0.tar.gz:
Publisher:
python-publish.yml on diogo-f-oliveira/DEBtool-Python-Interface
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
debtoolpyif-0.2.0.tar.gz -
Subject digest:
483347073a120d7b6a68acc550662735142fd8fe16717963a3a7e68c93937ed7 - Sigstore transparency entry: 1172211660
- Sigstore integration time:
-
Permalink:
diogo-f-oliveira/DEBtool-Python-Interface@2ad9692e27d01e43776ebe10c72dfc464660bdf1 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/diogo-f-oliveira
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2ad9692e27d01e43776ebe10c72dfc464660bdf1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file debtoolpyif-0.2.0-py3-none-any.whl.
File metadata
- Download URL: debtoolpyif-0.2.0-py3-none-any.whl
- Upload date:
- Size: 36.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94eb68126de1c826905d7cff927162c542845425a69dd75e4e6c87051f08b849
|
|
| MD5 |
644847dcc3d60a0d6b62b742dafe984d
|
|
| BLAKE2b-256 |
1b7726a0be9ca42a0aac36b44f3cf6484d8b49dba9d9a0512a0a10e180357096
|
Provenance
The following attestation bundles were made for debtoolpyif-0.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on diogo-f-oliveira/DEBtool-Python-Interface
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
debtoolpyif-0.2.0-py3-none-any.whl -
Subject digest:
94eb68126de1c826905d7cff927162c542845425a69dd75e4e6c87051f08b849 - Sigstore transparency entry: 1172211690
- Sigstore integration time:
-
Permalink:
diogo-f-oliveira/DEBtool-Python-Interface@2ad9692e27d01e43776ebe10c72dfc464660bdf1 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/diogo-f-oliveira
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2ad9692e27d01e43776ebe10c72dfc464660bdf1 -
Trigger Event:
release
-
Statement type: