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 D47crunch==3.0.0a2   # 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.0a2.tar.gz (46.7 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.0a2-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: d47crunch-3.0.0a2.tar.gz
  • Upload date:
  • Size: 46.7 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.0a2.tar.gz
Algorithm Hash digest
SHA256 bd77d1119cd57c99836e68efefec5d7d75c5f6c160f18ca6b76fc12d8e53126e
MD5 cb0790f72187c252f59e421118fb8779
BLAKE2b-256 68cbb3d2f09d8d4d8a98f7de2852fe91f3f9685266dd40dac084c940e4a3a9cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: d47crunch-3.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 47.7 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.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 9292518bb389e9bc142435f4cabd025e1d476846a28e9b8262ae595012a62ddc
MD5 7d0de493217596007c1724c6aa503950
BLAKE2b-256 61d14ca40acdc933f5db4e6532975d039afee3fac687a9c273ae9e2314b3cb80

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0.0a2 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