Skip to main content
https://zenodo.org/badge/496640400.svg

MagmaPandas

MagmaPandas is a Pandas based tool set for geochemical calculations and modelling. It makes working with geochemical data easier by extending the Pandas DataFrame with methods for common calculations, including those for:

  • mole and cation conversion,

  • mineral composition by stoichiometry,

  • melt thermometry,

  • melt Fe speciation,

  • oxygen fugacity,

  • melt volatile (CO2-H2O) saturation pressure

  • mineral-melt element partition coefficients,

MagmaPandas can be combined with MagmaPEC for post-entrapment crystallisation correction of olivine hosted melt inclusions.

Documentation

Code documentation and working examples are available at magmapandas.readthedocs.io

How to cite MagmaPandas

If you used MagmaPandas in your research, please reference this paper published in Geochemistry, Geophysics, Geosystems. To ensure reproducibility, please also mention the release version of MagmaPandas and reference the specific models you used (see documentation).

Installation

MagmaPandas versions 2.0.0 and above can be installed with pip by running:

pip install magmapandas

in a terminal. If you want to install from a specific git branch or release, use:

pip install git+https://github.com/TDGerve/MagmaPandas.git@tag

where tag should be replaced by the release tag or branch name (e.g. v2.2.6 or development)

Metadata

Release files for MagmaPandas 2.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MagmaPandas 2.2.7
File Size Uploaded
magmapandas-2.2.7.tar.gz 135.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for MagmaPandas 2.2.7
File Interpreter ABI Platform
magmapandas-2.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 297.8 kB

Release files / magmapandas-2.2.7.tar.gz

Download URL magmapandas-2.2.7.tar.gz
Size 135.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ad4cfd9a78b1bb9282e6447d3f4adaedfb9ca414c05d51063eba735b937bc8a5
BLAKE2b-256 checksum
How to use checksums
11ea677e003902f2dc9b390f4269eb0f793b1feda0becfd40bf6711e9fe18f1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.0

Release files / magmapandas-2.2.7-py3-none-any.whl

Download URL magmapandas-2.2.7-py3-none-any.whl
Size 162.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b0842f9ccfcf8776e699409b6de42c3a1e9305944b0a9ea12c480c16d62d0f6
BLAKE2b-256 checksum
How to use checksums
0ab32a0bc631fe2cf95cc517b28a0131046d4e5593891d9f7eb1609741a1d9aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.0

Release history Release notifications | RSS feed

This release

2.2.7 This release

2 release files

2.2.6

2 release files

2.2.5

2 release files

2.2.3

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page