Skip to main content

Thermobar

Project description

PyPI Build Status codecov

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Thermobar-1.0.17.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

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

Thermobar-1.0.17-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file Thermobar-1.0.17.tar.gz.

File metadata

  • Download URL: Thermobar-1.0.17.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for Thermobar-1.0.17.tar.gz
Algorithm Hash digest
SHA256 690905b42ffaaee83436412515577d1c6bc4af2bc952303958317c0b83123853
MD5 af7da250b37441c76fe30d72b30eb1c8
BLAKE2b-256 480c605f1fa09cea2d3db3f967c32b026731ac4f66c13818eae6222a64f4f639

See more details on using hashes here.

File details

Details for the file Thermobar-1.0.17-py3-none-any.whl.

File metadata

  • Download URL: Thermobar-1.0.17-py3-none-any.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for Thermobar-1.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 3693d985e5c74c1b17bba954c81ab8a4fb13b75045e8989022298426142ed0e7
MD5 3c74c5414c76468da056e03323dc0dd4
BLAKE2b-256 d01b445571a1d9dd5d61d99ecefc196403001e10db436f30e72cef0a196271f4

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