Skip to main content

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.

Metadata

Release files for dlw 0.0.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dlw 0.0.18
File Size Uploaded Provenance Actions
dlw-0.0.18.tar.gz 4.0 MB Without provenance Details for dlw-0.0.18.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dlw 0.0.18
File Interpreter ABI Platform Actions
dlw-0.0.18-py3-none-any.whl Python 3 none any Details for dlw-0.0.18-py3-none-any.whl

Total release size: 8.1 MB

Release files / dlw-0.0.18.tar.gz

Download URL dlw-0.0.18.tar.gz
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
4a54529079be07f638dbefd98f974de2564b4fd686d480174d13cc8fee893d2f
BLAKE2b-256 checksum
How to use checksums
e7adf39a5545c7941cf24efcf77ed057eaa3156189dc41653e676ffc0e381874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release files / dlw-0.0.18-py3-none-any.whl

Download URL dlw-0.0.18-py3-none-any.whl
Size 4.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ae631eb48ba1c4d4b64d2e785a16b0d4febd2bc4ab3d02bb6a8bac8ee10bf7a6
BLAKE2b-256 checksum
How to use checksums
36e33b11e959e55051b6dd9f1749b00c11c991cd48d991040213dcc3fa6b5580
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Security for dlw 0.0.18

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page