About¶
MassBalanceCal collects mass balance algorithms for petrology in general, with MCMC for propagating errors on phases and bulk compositions, including:
Non-negative least square algorithm
Matrix decomposition algorithm of Li et al. (2020).
Algorithm of Albarede and Provost (1977) (future update)
Please contact me at yishen.zhang@kuleuven.be or drop issue, PR for bug reporting, new feature requirement or contribution.
HOW TO CITE
If you use this package please cite the relevant publications for:
– Zhang Y, Namur O, Charlier B, 2020. Experimental liquid lines of descent and Silicate Liquid Immiscibility for low-Ti and high-Ti basalts of the Emeishan Large Igneous Province, SW China. AGU Fall Meeting 2021.
Also need to cite the papers for these excellent algorithms:
For non-negative algorithm:
– Lawson C., Hanson R.J., (1987) Solving Least Squares Problems, SIAM
For matrix decomposition:
– Li, X., Zhang, C., Almeev, R.R. and Holtz, F., 2020. GeoBalance: An Excel VBA program for mass balance calculation in geosciences. Geochemistry, 80(2), p.125629
– Ghiorso, M.S., 1983. LSEQIEQ: A FORTRAN IV subroutine package for the analysis of multiple linear regression problems with possibly deficient pseudorank and linear equality and inequality constraints. Computers & Geosciences, 9(3), pp.391-416.