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.2.3.tar.gz (112.7 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.3-py3-none-any.whl (137.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for magmapandas-2.2.3.tar.gz
Algorithm Hash digest
SHA256 a7b190aa3912c888a06823f5a147895851923431b80d8b4fa016fa55cbe440e0
MD5 b3a5b4f9d157fc255348abbd76b9a5d9
BLAKE2b-256 b36332645ad4f22a813a4078058c01de1a667a3b460dd59f0012fc1eb55ce5f9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for magmapandas-2.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 52b4c0f716e5911a4b3a959cdf78f2ad2fdd0a245e5915b559c75f4c0c6b423d
MD5 c73ad8b6c9e5e17c24850c9da25f467b
BLAKE2b-256 c9798b71f49f4f3461c4ed92620a18672c569d7a06f39a5d8a86f607ae7bb0e6

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