memPyGUTS is a python package for fitting GUTS models to survival data, from ecotoxicology experiments, developed at the Osnabrück University, Germany
Project description
memPyGUTS
memPyGUTS is a python package for fitting GUTS models to survival data, from ecotoxicology experiments, developed at the Osnabrück University, Germany
Description
The small package is currently capable of calibrating various General Unified Threshold model of Survival (GUTS,[1]) models to exposure-survival datasets using a frequentist Nelder-Mead approach. Uncertainties can be additionally assessed using a Bayesian Monte-Carlo-Marrcov-Chain method (MCMC). It is based on the epytox package by Raymond Nepstad (github.com/nepstad/epytox). Additional models for GUTS mixture toxicity [2] and BufferGUTS models [3] for above-ground invertebrates are also implemented.
Installation
Prerequisites
- git https://git-scm.com/downloads
- conda (miniconda3 recommended) https://docs.anaconda.com/miniconda/install/
Clone the repository and change into the directory:
git clone https://gitlab.uni-osnabrueck.de/memuos/mempyguts.git
cd mempyguts
Create a conda environment with Python 3.11 and activate:
conda create -n mempyguts -c conda-forge python=3.11 pandoc
conda activate mempyguts
Install the package into the activated environment with the package installer for python (pip) as an editable installation
pip install -e .[pymob]
Usage
For usage of mempyguts, see the Jupyter notebook: notebooks/demo.ipynb
References
[1] Jager, T., Albert, C., Preuss, T. G., & Ashauer, R. (2011). General unified threshold model of survival - A toxicokinetic-toxicodynamic framework for ecotoxicology. Environmental Science and Technology, 45(7), 2529–2540.
[2] Bart, S., Jager, T., Robinson, A., Lahive, E., Spurgeon, D. J., & Ashauer, R. (2021). Predicting Mixture Effects over Time with Toxicokinetic–Toxicodynamic Models (GUTS): Assumptions, Experimental Testing, and Predictive Power. Environmental Science & Technology, 55(4), 2430–2439. https://doi.org/10.1021/acs.est.0c05282
[3] Bürger, L. U., & Focks, A. (2025). From water to land—Usage of Generalized Unified Threshold models of Survival (GUTS) in an above-ground terrestrial context exemplified by honeybee survival data. Environmental Toxicology and Chemistry, 44(2), 589–598. https://doi.org/10.1093/etojnl/vgae058
Project details
Release history Release notifications | RSS feed
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 mempyguts-1.5.0.tar.gz.
File metadata
- Download URL: mempyguts-1.5.0.tar.gz
- Upload date:
- Size: 61.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c138071bd05e7022d7bea1aea0055be16a7428fd246aea3f5fa03bd19f74e3e
|
|
| MD5 |
fc264033805437373cfd8d9cd8b04a1d
|
|
| BLAKE2b-256 |
63b32c5d3d061e4ffa4df43c86bef12acd49c63b5549f6779f292875978fd02f
|
File details
Details for the file mempyguts-1.5.0-py3-none-any.whl.
File metadata
- Download URL: mempyguts-1.5.0-py3-none-any.whl
- Upload date:
- Size: 48.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9100997d88665a9458757daf478f75ea22cedf68b69b68f69d5a8dbfd36752c9
|
|
| MD5 |
f8e1c30ea060de39791fa9038b31668d
|
|
| BLAKE2b-256 |
1afba078aca15c6ddcd234ef906d1980000a7831af79822441ebbc627fae1f85
|