Skip to main content

Pysotope is an open-source package meant to processes raw data measured from the OSIBL GC-IRMS. Corrections are automatically calculated but the user must verify and confirm their application.

Project description

pysotope (v.1.4.0).

Pysotope is an open-source package meant to processes raw data measured from the OSIBL GC-IRMS. Corrections are automatically calculated but the user must verify and confirm their application.

Note: pysotope was tested using jupyter lab and jupyter notebook. Compatibility with alternative python IDEs may require custom configuration.

Data Corrections

  • Drift (weighted means least squares)
  • Linearity (log, exponential, or linear fit)
  • Methanol derivitization - user is asked for methanol values
  • PAME - calculates the isotopic composition of PAME, if run in the sequence (set argument pame=True)
  • VSMOW - calculated using C18, C20, and C28 standards, tested on C24 standard.

Features

  • Uncertainty/error associted with each correction is automatically calculated and included in each data output.
  • Compatible with hydrogen and carbon isotope measurements
  • Modifiable standard isotopic values
  • Due to non-linear linearity expression, a exponential or logarithmic curve is automatically fit to the linearity standards.

Installation

pip install pysotope

Arguments

  • pame (default False) - if True, the package will automatically identify and correct PAME values in the sequence.
  • user_linearity_conditions (default False) - if True, during linearity correction, user will be asked for a cutoff value under which samples with peak areas lower than the cutoff will be excluded from the analysis.
  • alt_stds (default False) - if True, the user can modify the default standard values. These changes will be saved for the user, but will reset upon package update.

e.g.,

import pysotope

# Edit standard data
pysotope.standard_editor()

# Process IRMS data
pysotope.iso_process(pame=True, user_linearity_conditions = False)

Use

  • Run pysotope and provide the file path to the IRMS output data
  • Answer questions
  • Data output is split into mean of samples, individual samples, and standards in three .csv files
  • Output log contains all user decisions, equations used for corrections, descriptive statistics, and time codes for user actions
  • Figures are saved locally

Contributing

Contributions to pysotope are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For questions or inquiries, please contact:

Project details


Download files

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

Source Distribution

pysotope-1.4.0.tar.gz (30.2 kB view details)

Uploaded Source

Built Distribution

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

pysotope-1.4.0-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

Details for the file pysotope-1.4.0.tar.gz.

File metadata

  • Download URL: pysotope-1.4.0.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Linux/6.11.0-1013-azure

File hashes

Hashes for pysotope-1.4.0.tar.gz
Algorithm Hash digest
SHA256 afea23dc5e4ca6f4e820559daf3742f61fc9a8d0857ff53d986f94762ccdf993
MD5 d121c7b57809d045708d188e737c1839
BLAKE2b-256 0d2a78e2fbbd73d26cef6df86a3c5476ad6307f91a4277fc656ede580b4e0bed

See more details on using hashes here.

File details

Details for the file pysotope-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: pysotope-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 38.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Linux/6.11.0-1013-azure

File hashes

Hashes for pysotope-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31adf75f5320bc41845361574fa461fbd5729127aecaae7161e2e07c41b37601
MD5 5a196c09623b9bffb6b55d8cba37b616
BLAKE2b-256 02cad2e6360d1949d27c5f3ab854a782a87bc928f24d48647cf2f488e139b876

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page