Skip to main content

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.

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:

  1. Open a terminal in administrator mode.
  2. 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

debtoolpyif-0.1.0.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

debtoolpyif-0.1.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file debtoolpyif-0.1.0.tar.gz.

File metadata

  • Download URL: debtoolpyif-0.1.0.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for debtoolpyif-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f67118cc505568d96f781b8d5813f3c74a4b0466f1f5d08af7427b6eae46793b
MD5 739adb7b63dd86f48e45ecca7b7155cf
BLAKE2b-256 a1838e7992ac5518534dba71a7fb7d966c5d32f8d46e24caa6073eac7f10ef59

See more details on using hashes here.

Provenance

The following attestation bundles were made for debtoolpyif-0.1.0.tar.gz:

Publisher: python-publish.yml on diogo-f-oliveira/DEBtool-Python-Interface

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file debtoolpyif-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: debtoolpyif-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for debtoolpyif-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1401af01f75666daf154dd76b54ba86ec4a749e5b6188902a4cd8dfed14fffb
MD5 33e7b5fccaf16e895176f6107b0b4158
BLAKE2b-256 1b94139d0a9db4790ed7a3fc48341a4088ea070cfae18611c41b4bac29218cc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for debtoolpyif-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on diogo-f-oliveira/DEBtool-Python-Interface

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page