Reproducible forward modeling of Sr and Mg diffusion in plagioclase: An open Python tutorial
Diffusion chronometry of trace elements in plagioclase is a primary tool for estimating how long magma resides at eruptible temperatures, but published timescales are rarely reproducible from code and data alone. I present plagdiff-cvz, an open, tested Python workflow for forward modeling Sr, Mg, and Ba diffusion in plagioclase. It is built on the finite-difference module of Lubbers et al. (2022) and adds input quality control, a time grid tied to the numerical stability limit, global-minimum Monte Carlo uncertainty, and an explicit classification of what each best-fit time can mean. I walk through one laser-ablation transect step by step (best fit 288 yr at 750 °C, 95% range 234–509 yr), show how temperature, initial profile, uncertainty model, and partitioning calibration change that answer, verify the solver against the analytical error-function solution (maximum error 0.27 ppm on a 100 ppm step), and apply the workflow to 56 transects from three Central Andean lava domes. Sr records hot spells of years to centuries (median 9.8 yr). Ba, which diffuses ~2000× more slowly, requires a similar D· t, which shows that part of the smoothing is analytical and that many Sr times are upper bounds. I document eight pitfalls that each changed results by up to a factor of five.
Authors
- Bezali Kwame Danso (ORCID: https://orcid.org/0009-0006-1201-4129)
Publication Details
- Journal
- EarthArXiv (California Digital Library)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.31223/x5wg09
- Primary Topic
- Geological and Geochemical Analysis
- Type
- preprint