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,

  • melt volatile (CO2-H2O) saturation pressure

  • mineral-melt element partition coefficients,

MagmaPandas includes a model for post-entrapment crystallisation correction of compositions 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 that you used.

Installation

MagmaPandas can be installed with pip by running:

pip install git+https://github.com/TDGerve/MagmaPandas.git

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

Uploaded Source

Built Distribution

MagmaPandas-2.0.3-py3-none-any.whl (68.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: MagmaPandas-2.0.3.tar.gz
  • Upload date:
  • Size: 48.0 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.3.tar.gz
Algorithm Hash digest
SHA256 ee8b5f5fa494b515d4777c3cd0c0467940ccb01b845e797babe2c876cb7d4a1b
MD5 cef5843c091a9edfc6ebe2f6debe2398
BLAKE2b-256 fa98d4f5fc2d297e30f8ba2d524b63ff1932754d45bdfcdbf10f2c683a14d866

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MagmaPandas-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 68.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 296e744f5bf9f0f0d5a3095282330aac4d70b9c5aa2a90d490d5b682499b13ed
MD5 975ea586f93afbd59166d9e102a8d240
BLAKE2b-256 39c2646c871b1e23160696ada178bd03f53b31f73ecf2adeabc2a43a1932422d

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