Skip to content

Commit

Permalink
PyIRoGlass v0.6.1!
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahshi committed Mar 26, 2024
1 parent 3f57c64 commit 0f79149
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/SarahShi/PyIRoGlass/blob/main/PyIRoGlass_RUN_colab.ipynb)
[![Python 3.8](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/release/python-380/)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![DOI](https://zenodo.org/badge/406815894.svg)](https://zenodo.org/doi/10.5281/zenodo.10883628)

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.

Expand All @@ -29,6 +30,4 @@ Make sure that you keep up with the latest version of PyIRoGlass. To upgrade to

```
pip install PyIRoGlass --upgrade
```

## Using Published FTIR Spectra
```
2 changes: 1 addition & 1 deletion docs/Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Change Log

Version 0.6.1
=============
Update composition-dependent epsilon inversions to add Shi et al., 2024 values for H2Ot, 3550 and carbonate, slight correction. Correct data export paths in calculate_baselines and calculate_concentrations. Update PC vector creation
Update composition-dependent epsilon inversions to add Shi et al., 2024 values for H2Ot, 3550 and carbonate, slight correction. Correct data export paths in calculate_baselines and calculate_concentrations. Update PC vector creation.


Version 0.5.2
Expand Down

0 comments on commit 0f79149

Please sign in to comment.