Skip to main content

A python library for calculating the melting behaviour of Earth's mantle.

Project description

pyMelt mantle melting library

S. Matthews (University of Iceland) and K. Wong (University of Leeds)

Introduction

pyMelt is a python package for calculating the melting behaviour of mantle comprising multiple lithologies. The module implements the melting equations developed by Phipps Morgan (2001) to calculate the melting behaviour of mantle comprising any chosen lithology.

Currently supported calculations:

  • Adiabatic decompression melting
  • Isobaric melting

Parameters that can be calculated:

  • The geotherm for decompressing mantle
  • Melt fractions for each lithology
  • Crustal thickness for passive-upwelling at a mid-ocean ridge
  • Crystallisation temperatures (following the method in Matthews et al., 2016)

Documentation

Full documentation, further information about the package, and a tutorial for getting started are provided at pymelt.readthedocs.io.

Installation

pyMelt is available on pip, and can be installed by running pip install pyMelt in a terminal.

pyMelt_MultiNest

pyMelt can be used in conjunction with the MultiNest algorithm (Feroz and Hobson, 2008; Feroz et al., 2009, 2013) via its python frontend, pyMultinest (Buchner et al., 2014). This permits the inversion of measured data (e.g. crystallisation temperature, crustal thickness) to obtain unknowns (e.g. potential temperature) via Bayesian inference. More details of the inversion methods are provided in Matthews et al., 2021.

For pyMelt_MultiNest to work, MultiNest and pyMultinest must be installed. The user is directed to the pyMultinest installation instructions for further guidance.

Citing pyMelt

If pyMelt enables or aids your research please cite the release you used. The latest release is v1.92, but does not yet have a doi. The most recent zenodo release is for v1.915: DOI

You should also cite the relevant publications for the pure-lithology melting models. If you use our models, you should cite:

Matthews, S., Wong, K., Shorttle, O., Edmonds, M., & Maclennan, J. (2021). Do olivine crystallization temperatures faithfully record mantle temperature variability?. Geochemistry, Geophysics, Geosystems, 22(4), e2020GC009157. https://doi.org/10.1029/2020GC009157

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

pyMelt-1.930.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

pyMelt-1.930-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file pyMelt-1.930.tar.gz.

File metadata

  • Download URL: pyMelt-1.930.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for pyMelt-1.930.tar.gz
Algorithm Hash digest
SHA256 bcf277afb7897ae55b312d10de115b2e89c9ab0d1aadcf1f14329bbc6092d659
MD5 bce5e96307c0a8618198fb1cfd9dfed2
BLAKE2b-256 b733c851286d3b7474cf68e619b7285dba7c9bda8ee989a4814ac62fad713171

See more details on using hashes here.

File details

Details for the file pyMelt-1.930-py3-none-any.whl.

File metadata

  • Download URL: pyMelt-1.930-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for pyMelt-1.930-py3-none-any.whl
Algorithm Hash digest
SHA256 72a9665f34e3531444191d3f74eb9f3109c547c18b208a6ea61748fb780583c3
MD5 d1616d15d5740af30127c558f08ebf6c
BLAKE2b-256 065b6e4b23f697c57bfb1e174a39cf9ead930b6183d2c5a5f6917569b7108e4a

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