Skip to main content

PyIRoGlass

Project description

PyIRoGlass

PyPI Build Status Documentation Status codecov Open In Colab Python 3.8 License: GPL v3

PyIRoGlass is a Bayesian MCMC-founded Python algorithm, written in the open-source language Python3, for determining $\mathrm{H_2O}$ and $\mathrm{CO_2}$ species concentrations in the transmission FTIR spectra of basaltic to andesitic glasses. We leverage a database of naturally degassed melt inclusions and back-arc basin basalts to delineate the fundamental shape and variability of the baseline underlying the $\mathrm{CO_{3}^{2-}}$ and $\mathrm{H_2O_{m, 1635}}$ peaks, in the mid-infrared region. PyIRoGlass employs Bayesian inference and Markov Chain Monte Carlo sampling to fit all probable baselines and peaks, solving for best-fit parameters and capturing covariance to offer robust uncertainty estimates.

Preprint

Find the preprint on EarthArXiv on for a more detailed description of the development and validation of the method.

Documentation

Read the documentation for a run-through of the PyIRoGlass code.

Run on the Cloud

If you do not have Python installed locally, run PyIRoGlass on Google Colab.

Run and Install Locally

Obtain a version of Python between 3.7 and 3.11 if you do not already have it installed. PyIRoGlass can be installed with one line. Open terminal and type the following:

pip install PyIRoGlass

Make sure that you keep up with the latest version of PyIRoGlass. To upgrade to the latest version of PyIRoGlass, open terminal and type the following:

pip install PyIRoGlass --upgrade

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

PyIRoGlass-0.4.1.tar.gz (76.5 kB view details)

Uploaded Source

Built Distribution

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

PyIRoGlass-0.4.1-py3-none-any.whl (77.1 kB view details)

Uploaded Python 3

File details

Details for the file PyIRoGlass-0.4.1.tar.gz.

File metadata

  • Download URL: PyIRoGlass-0.4.1.tar.gz
  • Upload date:
  • Size: 76.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for PyIRoGlass-0.4.1.tar.gz
Algorithm Hash digest
SHA256 dbbcc7326859c6808aefbf69d9f7348cfda92c387f2968b988906df204de3e1a
MD5 49f5ddc6f978c4870501f3ec829a9486
BLAKE2b-256 4bce63902a63d9bddf9ff1374622ae4c3d39696862661645bcc22c3506a7bd22

See more details on using hashes here.

File details

Details for the file PyIRoGlass-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: PyIRoGlass-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 77.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for PyIRoGlass-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac5ea7cb2dc4b566c196202df5073097eb23804616653e91227d04495d62587f
MD5 9a1a3f2eca3928c1a6675b873e0be5d0
BLAKE2b-256 18af369ee6ba96f06fd2abd1876cb8d7ecd0dab625924ff6171d3b788365adb4

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