Skip to content

Commit

Permalink
improved composition fitting documentation, added MELTS ref
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmyhill committed Jun 16, 2023
1 parent 39b19fc commit 1cb8ef7
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 4 deletions.
15 changes: 15 additions & 0 deletions paper/paper.bib
Original file line number Diff line number Diff line change
Expand Up @@ -495,3 +495,18 @@ @article{Unterborn:2016
doi={10.3847/0004-637X/819/1/32},
publisher={IOP Publishing}
}

@INPROCEEDINGS{Ghiorso:2007,
author = {{Ghiorso}, M.~S. and {Hirschmann}, M.~M. and {Grove}, T.~L.},
title = "{xMELTS: A thermodynamic model for the estimation of magmatic phase relations over the pressure range 0-30 GPa and at temperatures up to 2500 C}",
keywords = {3611 Thermodynamics (0766, 1011, 8411), 3612 Reactions and phase equilibria (1012, 8412), 3618 Magma chamber processes (1036), 3621 Mantle processes (1038), 3630 Experimental mineralogy and petrology},
booktitle = {AGU Fall Meeting Abstracts},
year = 2007,
volume = {2007},
month = dec,
eid = {V31C-0608},
pages = {V31C-0608},
adsurl = {https://ui.adsabs.harvard.edu/abs/2007AGUFM.V31C0608G},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

30 changes: 26 additions & 4 deletions paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,39 @@ The other properties are compared to the PREM [@Dziewonski:1981].
`BurnMan` also provides many utility classes and functions, including
those required to undertake bulk and phase chemical calculations,
to aid preparation and analysis of laboratory experiments.
An example that uses bulk and phase compositions from samples
to estimate phase proportions is shown in \autoref{fig:mars_fit}.
One example is a utility function, `fit_phase_proportions_to_bulk_composition()`,
that uses constrained least squares to estimate phase proportions
and their corresponding covariances. The fitting applies appropriate
non-negativity constraints (i.e. no phase can have a negative abundance
in the bulk). An example that uses real
experimental data [@Bertka:1997] is shown in \autoref{fig:mars_fit}.
Loss of an independent component from the bulk composition
can be tested by adding an "antiphase" (e.g. Fe$_{-1}$)
and checking that the amount of that antiphase is zero
within uncertainties.
Phase proportion covariances $C$ are given as
a function of the bulk composition covariances $K$,
and the phase compositions $A$
$$C_{im} = (A_{ji} K^{-1}_{jk} A_{km})^{-1}.$$
The weighted residuals are calculated
using the phase proportions $x$ and the bulk composition $b$:
$$\chi^2 = (K^{-0.5}_{ij} A_{jk} x_k - K^{-0.5}_{ik} b_k)(K^{-0.5}_{ip} A_{pq} x_q - K^{-0.5}_{iq} b_q).$$
A related function is `fit_composition_to_solution()`,
that uses weighted constrained least squares to fit a phase composition
(calculated, for example, by EPMA) to a solution model. In this case,
non-negativity constraints are applied such that no site may have a
negative species occupancy.

![Mineral phase proportions in the mantle of Mars, estimated from
high pressure experimental data [@Bertka:1997]. Weighted residuals
![Mineral phase proportions in the mantle of Mars, estimated by using
the method of constrained least squares on high pressure experimental
data [@Bertka:1997]. Weighted residuals
(misfits) are also shown, indicating that the majority of experimental
run products are consistent with the reported starting composition.
\label{fig:mars_fit}](figures/fit_mars_experiments.png)

`BurnMan` does not attempt to replicate Gibbs minimization codes,
of which there are many, such as PerpleX [@Connolly:2009],
xMELTS [@Ghiorso:2007],
MageMin [@Riel:2022],
TheriakDomino [@deCapitani:2010],
HeFESTo [@Stixrude:2022] and
Expand Down

0 comments on commit 1cb8ef7

Please sign in to comment.