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.1.tar.gz (111.2 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.1-py3-none-any.whl (135.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: magmapandas-2.1.1.tar.gz
  • Upload date:
  • Size: 111.2 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.1.tar.gz
Algorithm Hash digest
SHA256 34523d9b19e765960cdef3e4f4d50f037c722f6339c7e97b099e7108bb99456d
MD5 a353a0e20d616d84e99ba3a0635c9d5d
BLAKE2b-256 e972f031fb7ae178f86bb152ca6379743ae376799be83333118e3e7cb01056ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magmapandas-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 135.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90236fb5cef81383139756cd5c28ab5fcf4f25c7e59c09a55b681c8549fea0c3
MD5 3f4598e682ef86307d449664bb781e07
BLAKE2b-256 089bd8f05425790f48acd3dcc344543c4ec6949ea05bc96bff1142f3fc81f612

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