Skip to main content

Pandas based tool set for geochemical processing and modelling.

Project description

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 is currently being worked on at magmapandas.readthedocs.io

How to cite MagmaPandas

If have used MagmaPandas in your research, please reference this paper published in Journal of Petrology. 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 repleaced by the release tag or branch name (e.g. v1.0.0 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.1.2.tar.gz (111.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.1.2-py3-none-any.whl (135.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: magmapandas-2.1.2.tar.gz
  • Upload date:
  • Size: 111.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for magmapandas-2.1.2.tar.gz
Algorithm Hash digest
SHA256 c4e83b35eae4a90d31258f77df716dbddaa4ad3531f73a7a2b01a827dfd4d53a
MD5 4f3f839d466d2b883369803b59281572
BLAKE2b-256 18438ae3033a6893f370ff92d9eeebcc70ee06d7c725d05085b101ccefb96b67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magmapandas-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 135.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for magmapandas-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7ba9416212f819be1896ef31a61af9fdcc36a7f84339e695a5d6e13c6162d6
MD5 80659c184de50ab0ba3a8dbd662a3863
BLAKE2b-256 15d700161bc13ab20d621810ac7f4d7aab72795c8bc9427c63a8d0f2ad5290f0

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