PyIRoGlass
Project description
PyIRoGlass
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
Release history Release notifications | RSS feed
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 PyIRoGlass-0.5.2.tar.gz.
File metadata
- Download URL: PyIRoGlass-0.5.2.tar.gz
- Upload date:
- Size: 77.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d88260c2964896c798c64b7d6921ef9959c34e15b505b3783ae964cf1445c424
|
|
| MD5 |
94ab6778fad3db2eee3e2c581398bcbc
|
|
| BLAKE2b-256 |
4ad9e2f52ecc8dd607ae92e0a190afc43adb8cb0ea29562bf0b3ae226413aadd
|
File details
Details for the file PyIRoGlass-0.5.2-py3-none-any.whl.
File metadata
- Download URL: PyIRoGlass-0.5.2-py3-none-any.whl
- Upload date:
- Size: 78.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dc9ae091e817214f83ff1e3493fff1c04bd28bfe4252385a7a70debcc94bf74
|
|
| MD5 |
e9216dfd8bba024ec7bbe43a0a26904b
|
|
| BLAKE2b-256 |
c6d8c25857364bcd8aa24ef693516e2c4a0c64f4bc787b87b96139bcefceb39b
|