mdaeron / 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.
MIT License
8 stars 3 forks source link
clumped-isotopes geochemistry python stable-isotopes

D47crunch

DOI PyPI Version

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.

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.