This release is a pre-release and may not be stable for production use.
D47crunch
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
uvand 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:
- download the dev branch or the latest release and unzip it
- rename the resulting directory to
D47crunch - chose one of one of the following options:
- move the
D47crunchdirectory to somewhere in your Python path - move the
D47crunchdirectory to your desired working directory - move the
D47crunchdirectory to any other location (e.g.,/foo/bar) and include the following code snippet in your scripts:
- move the
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d04aca83fd195e9c0cef3a5120535db9dea65a2f7e6ba991a9191fa59d44b422
|
|
| MD5 |
c9b17049c27817b78ad611f0db96c9e2
|
|
| BLAKE2b-256 |
7bcab67168c9b92d88fbc5e715e2334a7c677dd6bc67c523758d8a102b9558f7
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3473727384af5677ca7a1fb9c4ce3a2f4fbb11f04efd893033bfd3f6dbfeadaa
|
|
| MD5 |
8ffad06c26b5de638f0b6fea93f989ca
|
|
| BLAKE2b-256 |
fc2cb6ce6080d05c600639a1b62aa4beff853cca03cf49f01db626d4c5dd246e
|