Skip to main content

Open source web app to conduct doubly labeled water study calculations.

Project description

Program for Doubly Labeled Water calculations

This open-source program allows researchers to simply and repeatedly perform doubly labeled water calculations and save the results. All the results have been validated by comparison with a detailed DLW calculation spreadsheet, a copy of which is available in this repo for examination. The one exception is that the exponential decay calculations were validated by comparison with a previous DLW program version as the spreadsheet does not do exponential fitting.

The steps undertaken by the program are:

  1. express all isotope enrichments as isotope ratios
  2. calculate mean isotope turnover rates for both deuterium and oxygen - the user can choose whether to use a 2pt method or a multi-sample exponential fit.
  3. calculate isotope dilution spaces for both deuterium and oxygen and using both plateau and intercept methods
  4. calculate dilution space rato Nd/No
  5. calculate average pool sizes
  6. calculate CO2 production - the program does 3 separate calculations a) using the equation of Schoeller (equation A6, 1986 as updated in 1988) b) using the equation of Racette (1994) c) using the equation of Speakman eqn 17.41 (1997)
  7. convert to total energy expenditure using the equation of Weir , J.B. J Physiol., 109(1-2):1-9, 1949
  8. optionally save the data to csv

Example input CSVs

See DoublyLabeledWater/test/test-input.csv and DoublyLabeledWater/test/test-exponential.csv for the expected CSV input format that the program expects. Column order does not matter; exact column names do.

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

dlw-0.0.18.tar.gz (4.0 MB view details)

Uploaded Source

Built Distribution

dlw-0.0.18-py3-none-any.whl (4.0 MB view details)

Uploaded Python 3

File details

Details for the file dlw-0.0.18.tar.gz.

File metadata

  • Download URL: dlw-0.0.18.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for dlw-0.0.18.tar.gz
Algorithm Hash digest
SHA256 4a54529079be07f638dbefd98f974de2564b4fd686d480174d13cc8fee893d2f
MD5 30558358b402a8b19368ad37b34b9472
BLAKE2b-256 e7adf39a5545c7941cf24efcf77ed057eaa3156189dc41653e676ffc0e381874

See more details on using hashes here.

File details

Details for the file dlw-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: dlw-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for dlw-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 ae631eb48ba1c4d4b64d2e785a16b0d4febd2bc4ab3d02bb6a8bac8ee10bf7a6
MD5 1923cdee1e7ae921ccd1731d8d60592e
BLAKE2b-256 36e33b11e959e55051b6dd9f1749b00c11c991cd48d991040213dcc3fa6b5580

See more details on using hashes here.

Supported by

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