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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: MagmaPandas-2.0.1.tar.gz
  • Upload date:
  • Size: 47.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.0.1.tar.gz
Algorithm Hash digest
SHA256 5839197d896fa3f85d2587792cdc2f106ee240fd9b4c8872b68f3b9ecc0fab1b
MD5 509f5ebee8e971e3c12936a9148a57c7
BLAKE2b-256 77e61160965519f626718da51b4ad040178a1cf5f313df269a5eea3e9fa4cdaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MagmaPandas-2.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7af1c0ed858ba901c65dd4ee29cd2c5c9fedbb32d5b30a7ec5187378942a2f65
MD5 c986eefb08ba72548ba269d3c596c59b
BLAKE2b-256 2e6e674fe6d23de57bc3dc562d0f44a8f0102788b1e5eecffbce889acea19c1b

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