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.0a3   # 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.0a3.tar.gz (47.0 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.0a3-py3-none-any.whl (47.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: d47crunch-3.0.0a3.tar.gz
  • Upload date:
  • Size: 47.0 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.0a3.tar.gz
Algorithm Hash digest
SHA256 d04aca83fd195e9c0cef3a5120535db9dea65a2f7e6ba991a9191fa59d44b422
MD5 c9b17049c27817b78ad611f0db96c9e2
BLAKE2b-256 7bcab67168c9b92d88fbc5e715e2334a7c677dd6bc67c523758d8a102b9558f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: d47crunch-3.0.0a3-py3-none-any.whl
  • Upload date:
  • Size: 47.9 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.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 3473727384af5677ca7a1fb9c4ce3a2f4fbb11f04efd893033bfd3f6dbfeadaa
MD5 8ffad06c26b5de638f0b6fea93f989ca
BLAKE2b-256 fc2cb6ce6080d05c600639a1b62aa4beff853cca03cf49f01db626d4c5dd246e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

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