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
Built Distribution
File details
Details for the file MagmaPandas-1.0.0.tar.gz
.
File metadata
- Download URL: MagmaPandas-1.0.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a24949f184060193e23ff487f89af2e3f6d7731c5e5f71fcfc1adc40cf33e457 |
|
MD5 | 46885653bdf38f7a27ae925355bef9fe |
|
BLAKE2b-256 | 6dc95d3e00c3915c9278a9677ad236f876e79f442c57bafd7443072f7d92581a |
File details
Details for the file MagmaPandas-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: MagmaPandas-1.0.0-py3-none-any.whl
- Upload date:
- Size: 68.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a26a8a3c420629a3fb65cd08649af5dc1521873c45c8daf5ceb82301d874f7 |
|
MD5 | 1a5ef6ef89dd218d6e553d0557cdeb72 |
|
BLAKE2b-256 | c60e414185e2d4f7ff059f0d5ad2ed2e89f198f40e74a72e627b5f1424309744 |