MAGEMin_py
MAGEMin_py is a Python interface to MAGEMin, the Gibbs energy minimization library written in C. It allows computing the most stable phase equilibrium for a given bulk-rock composition, pressure and temperature directly from Python, so that MAGEMin can be combined with the scientific Python ecosystem.
MAGEMin_py is developed by Ondrej Lexa (Czech Geological Survey). It wraps the official minimal C API of MAGEMin and is distributed as the magemin package.
Info
Source code, installation instructions, documentation and examples are available in the
MAGEMin_pyrepository: https://github.com/ondrolexa/MAGEMin_pyMAGEMin_pyis maintained independently ofMAGEMin,MAGEMin_C.jlandMAGEMinApp.jl. For questions, issues and feature requests regarding thePythoninterface, please use its own repository.
Where to start
For a
Pythonworkflow, follow the installation and quickstart sections of theMAGEMin_pyrepository.The thermodynamic databases, phases and end-members that
MAGEMinprovides are described in the Databases information page.For a
Juliaworkflow, see MAGEMin_C.jl. For a graphical interface in the web browser, see MAGEMinApp.jl.