Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
PET is a Mathematica package, supplying elementary tools that fulfill various petrological tasks. Among them are: mineral formula calculation (including nomenclature for amphibole according to the IMA sheme), calculation of mineral equilibria from internally consistent thermodynamic data sets (Berman or Holland and Powell), calculation of single equilibrium geothermobarometers (25 of the most common thermometers, 10 barometers), access to thermodynamic functions of a phase and to activity models of various solid solutions, calculation of the projection of the composition of a phase into a user-defined space and analysis of metamorphic assemblages by means of matrix methods. A major advantage of PET is its wide range of applicability and its flexibility, because PET tools can be easily grouped together and combined with Mathematica built-in functions in order to fulfill specific user-defined needs.