Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mempyguts-1.6.0.tar.gz (61.2 kB view details)

Uploaded Source

Built Distribution

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

mempyguts-1.6.0-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

Details for the file mempyguts-1.6.0.tar.gz.

File metadata

  • Download URL: mempyguts-1.6.0.tar.gz
  • Upload date:
  • Size: 61.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for mempyguts-1.6.0.tar.gz
Algorithm Hash digest
SHA256 f7e7c4702f5a46ef705e87ef09cd55b2eb998dbe49031e58153d6eeed70ee81b
MD5 befaed5d7f16edf134a8d25cae24ccef
BLAKE2b-256 45546607fa97cc4801a3b5d75b4e9d83c7c9f3c2da2e145a18632e278ff369cc

See more details on using hashes here.

File details

Details for the file mempyguts-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: mempyguts-1.6.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

Hashes for mempyguts-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b05fb12d814ec6081c426122a8824d9c44846a76106d2250a2b66ba8fee02a6d
MD5 e039b7caa3b8d53d6b9b9cb0b0c72b99
BLAKE2b-256 861e1d8cbd1b0e99e94698f76c2521b87bdf012a576c24e9753f8ab11e193c9e

See more details on using hashes here.

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