Thermobar
Project description
Thermobar is a python tool for thermobarometry, chemometry and mineral equilibrium.
Thermobar is written in the open-source language Python3. Thermobar allows users to easily choose between more than 100 popular parameterizations involving liquid, olivine-liquid, olivine-spinel, pyroxene only, pyroxene-liquid, two pyroxene, feldspar-liquid, two feldspar, amphibole and amphibole-liquid, garnet and biotite equilibrium.
Thermobar is also the first open-source tool for assessing equilibrium, and calculating pressures and temperatures for all possible pairs of phases from a given sample/volcanic center (e.g., clinopyroxene-liquid, orthopyroxene-liquid, two-pyroxene, feldspar-liquid, two feldspar, amphibole-liquid). Thermobar also contains a number of functions allowing users to propagate errors using Monte-Carlo methods, plot mineral classification diagrams and assess mineral-melt equilibrium (e.g. olivine-melt Rhodes diagrams), calculate liquid viscosities, and convert between different measures for oxygen fugacity and Fe speciation. Finally, in order to perform its calculations, Thermobar contains a number of functions for calculating molar and cation fractions, cation site allocations, and mineral components. These can be leveraged alongside various statistical and machine learning packages in Python to easily produce new thermobarometry, hygrometry or chemometry calibration. Thermobar can be downloaded via pip, on Github (you are here!), and extensive documentation and example videos and Jupyter Notebooks are available at https://thermobar.readthedocs.io/en/latest/index.html
Find more information in Volcanica - and please make sure you cite this work!!! https://www.jvolcanica.org/ojs/index.php/volcanica/article/view/161
Want your model in Thermobar?
Getting your model into Thermobar will hopefully help to increase usage. I am happy to help you with this. You will need to supply me with your scripts or excel spreadsheet showing how the model works, your calibration dataset, and some example calculations for benchmarking.
For Machine Learning models, please see the read the docs page.
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
File details
Details for the file Thermobar-1.0.26.tar.gz
.
File metadata
- Download URL: Thermobar-1.0.26.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bca49cf3f8ac66c2d6f22f4a43cf6d2e474982056332714c4db3d38c1d6e393 |
|
MD5 | ab1a0a807ccf6b156e6fa8908fa8a37f |
|
BLAKE2b-256 | cfba6fb1581fbacbd44810f1cbf75523c2c99bee4c3339a36162ea753cb86026 |
File details
Details for the file Thermobar-1.0.26-py3-none-any.whl
.
File metadata
- Download URL: Thermobar-1.0.26-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 630af0ca125f9b8d1f48828a8212b685edff813227d9b8099d48f35714bd2f5a |
|
MD5 | daf0a4d6b1b5b7c21c54589d87301b38 |
|
BLAKE2b-256 | 85d79ba841864cb445be980ae1e3214395994c2b04bc34cc88a0637a5982d711 |