Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

D47crunch

DOI

PyPI Version License docs

Python library for processing and standardizing carbonate clumped-isotope analyses, from low-level data out of a dual-inlet mass spectrometer to final, “absolute” Δ47, Δ48 and Δ49 values with fully propagated analytical error estimates.

This also provides a command-line interface making it possible to process a multi-session Δ47 (and potentially Δ48, Δ49) dataset by simply calling D47crunch rawdata.csv. See the CLI documentation for more options.

Warning The upcoming version 3 of D47crunch will break backwards-compatibility. This is motivated by the need to accomodate different standardization approaches (least squares "pooled" standardization vs Bayesian standardization allowing for reference materials having nominal Δ4x values with non-zero uncertainties).

Note The new Bayesian standardization approach introduced in the upcoming version 3 of D47crunch works well, to the first order, but has not been extensively tested yet. To test this upcoming version without affecting your existing Python setup, use uv and start with the demo code available here.

mkdir testD47crunch     # create new working directory
cd testD47crunch        # enter the working directory
uv init                 # initialize a new uv project
uv add mylib==3.0.0a1   # install the new version of D47crunch
uv run bayes-demo.py    # run the demo code

Documentation

For the full API and a short tutorial, see https://mdaeron.github.io/D47crunch.

Installation

This should do the trick:

pip install D47crunch

Alternatively:

  1. download the dev branch or the latest release and unzip it
  2. rename the resulting directory to D47crunch
  3. chose one of one of the following options:
    • move the D47crunch directory to somewhere in your Python path
    • move the D47crunch directory to your desired working directory
    • move the D47crunch directory to any other location (e.g., /foo/bar) and include the following code snippet in your scripts:
import sys
sys.path.append('/foo/bar')

Having done any of the above you should now be able to import D47crunch, with the following requirements: Python 3, numpy, matplotlib, scipy, lmfit, and typer.

Contact

All questions and suggestions are welcome and should be directed at Mathieu Daëron.

Download files

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

Source Distribution

d47crunch-3.0.0a1.tar.gz (47.4 kB view details)

Uploaded Source

Built Distribution

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

d47crunch-3.0.0a1-py3-none-any.whl (48.3 kB view details)

Uploaded Python 3

File details

Details for the file d47crunch-3.0.0a1.tar.gz.

File metadata

  • Download URL: d47crunch-3.0.0a1.tar.gz
  • Upload date:
  • Size: 47.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for d47crunch-3.0.0a1.tar.gz
Algorithm Hash digest
SHA256 962644b5f5b536457b17f9d73478a930fbd89071cb687386bde912f97dcd6967
MD5 4ea9d8bea83c397c9cab82caa7c3de2f
BLAKE2b-256 ce82a115c38c0ea7db86f7fd793e45a6628fbabecd31a0c5dc896a5bfa6dfbe9

See more details on using hashes here.

File details

Details for the file d47crunch-3.0.0a1-py3-none-any.whl.

File metadata

  • Download URL: d47crunch-3.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 48.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for d47crunch-3.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee8a6f67ded62c86b01df88931fc78f54309b0defbcdb05027b59690ab45f5de
MD5 775a45768d80252667f319b2b0d1f575
BLAKE2b-256 0377de44e3b6b0e4b23f78eb267c6339ee3a1d18bb9b2727b8b886b64e331ffb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0.0a1 This release

2 files

2.5.3

2 files

2.5.2

2 files

2.5.1

2 files

2.5.0

2 files

2.4.5

2 files

2.4.4

2 files

2.4.3

2 files

2.4.2

2 files

2.4.1

2 files

2.4.0

2 files

2.3.2

2 files

2.3.1

2 files

2.3.0

2 files

2.2.1

2 files

2.2.0

2 files

2.1.1

2 files

2.0.6

2 files

2.0.5

2 files

2.0.4

2 files

2.0.3

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

0.6.1

2 files

0.3.2

2 files

0.3.1

2 files

0.3

2 files

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