Skip to main content

Pandas based tool set for geochemical processing and modelling.

Project description

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)

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

magmapandas-2.2.7.tar.gz (135.4 kB view details)

Uploaded Source

Built Distribution

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

magmapandas-2.2.7-py3-none-any.whl (162.5 kB view details)

Uploaded Python 3

File details

Details for the file magmapandas-2.2.7.tar.gz.

File metadata

  • Download URL: magmapandas-2.2.7.tar.gz
  • Upload date:
  • Size: 135.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for magmapandas-2.2.7.tar.gz
Algorithm Hash digest
SHA256 ad4cfd9a78b1bb9282e6447d3f4adaedfb9ca414c05d51063eba735b937bc8a5
MD5 2805ae4ab08bdd33b3b50aebb90b0bc2
BLAKE2b-256 11ea677e003902f2dc9b390f4269eb0f793b1feda0becfd40bf6711e9fe18f1c

See more details on using hashes here.

File details

Details for the file magmapandas-2.2.7-py3-none-any.whl.

File metadata

  • Download URL: magmapandas-2.2.7-py3-none-any.whl
  • Upload date:
  • Size: 162.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for magmapandas-2.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3b0842f9ccfcf8776e699409b6de42c3a1e9305944b0a9ea12c480c16d62d0f6
MD5 d1562e034b0aa31cfa236e4a274027e1
BLAKE2b-256 0ab32a0bc631fe2cf95cc517b28a0131046d4e5593891d9f7eb1609741a1d9aa

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