Skip to main content

PyIRoGlass

Project description

PyIRoGlass

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

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.8 and 3.12 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.6.3.tar.gz (78.8 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.6.3-py3-none-any.whl (79.3 kB view details)

Uploaded Python 3

File details

Details for the file pyiroglass-0.6.3.tar.gz.

File metadata

  • Download URL: pyiroglass-0.6.3.tar.gz
  • Upload date:
  • Size: 78.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyiroglass-0.6.3.tar.gz
Algorithm Hash digest
SHA256 ba30499a20659f241e015fc1b01654d4d46b1b2702ef9771637252ed363a2569
MD5 29721c208aed9f8a644cdeeb49fa97bb
BLAKE2b-256 6c3e8f3dc72fa6ed040d3c2db9c28edc8e0d4739bb349e8e76cbd65ebd0041be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyIRoGlass-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 79.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for PyIRoGlass-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 40e0cebf8fd5184f085863f05fb533320e1e88bada47221f4f80c76cfff58d1b
MD5 0d7885c4833e0ecefa897894e09df1d3
BLAKE2b-256 282e42de8add8831b88020307deeea384755e92157bf9ea3f303dc1c93445b22

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