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.0.6.tar.gz (48.4 kB view details)

Uploaded Source

Built Distribution

MagmaPandas-2.0.6-py3-none-any.whl (69.2 kB view details)

Uploaded Python 3

File details

Details for the file MagmaPandas-2.0.6.tar.gz.

File metadata

  • Download URL: MagmaPandas-2.0.6.tar.gz
  • Upload date:
  • Size: 48.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.0.6.tar.gz
Algorithm Hash digest
SHA256 328e5923f5035ab90dc43e6be354f5cba82ee2e55df9d9b8a3ea57f8beec1133
MD5 3492008a00c3832851cb0a932bcc767c
BLAKE2b-256 77f5372356e5eb88bff5c8bb984408fa7755fd5f5ed929128630a25f6241f307

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MagmaPandas-2.0.6-py3-none-any.whl
  • Upload date:
  • Size: 69.2 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.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1fe4cae8a0053cd7ec7f7424f0289bc2fb316029039acd09d12c9ac5131ec5ec
MD5 0366d43a157a9da7fb6dca502a90f467
BLAKE2b-256 95152bcab9bebd4a79338650882beb20a1d519b938c6df4191d42d9d02f95dbf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page