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.0.tar.gz (110.9 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.0-py3-none-any.whl (134.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: magmapandas-2.1.0.tar.gz
  • Upload date:
  • Size: 110.9 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.0.tar.gz
Algorithm Hash digest
SHA256 3c796db74fd3d19c3c7448fa1ee92c9186953f17d220ccdd403f0bde7ecc42b8
MD5 ed3f306358514dcd19921327814e6d38
BLAKE2b-256 b0b105ee1fc2bf8c2295e65702051807d2dc421c6690d3c057847ee8091e6dd7

See more details on using hashes here.

File details

Details for the file MagmaPandas-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: MagmaPandas-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 134.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38eef719c80aefb5f9ce9c717b3227c763c1e78d9e4d93f034740646072386eb
MD5 fded5fb0db9154c79b9c20684b770677
BLAKE2b-256 f32258fda4aaf974a340adaab9c98f91b485ffa56703721e77a9eccffd069712

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