cationCalc4EPMA: A MATLAB-based open-source tool for reproducible cation calculations from EPMA datasets
Electron probe microanalysis (EPMA) provides precise chemical compositions of minerals, but transforming oxide weight percentages into cation-based formulas remains a critical and often irreproducible step in petrological workflows. We present cationCalc4EPMA, an open-source MATLAB tool that converts EPMA datasets into cation-normalized structural formulas with automatic mineral identification. The software supports major rock-forming minerals, implements established stoichiometric and charge-balance schemes for Fe³⁺ estimation, and computes commonly used petrological indices such as Mg#. By replacing spreadsheet-based or proprietary workflows, cationCalc4EPMA enhances transparency, reproducibility, and efficiency in geochemical and petrological studies using EPMA data.
Authors
- Kazuki Matsuyama
- Yoshihiro Nakamura
Institutions
- Centre National de la Recherche Scientifique (FR)
- Université de Montpellier (FR)
- Géosciences Montpellier (FR)
- Geological Survey of Japan (JP)
- Nagoya University (JP)
Publication Details
- Journal
- SoftwareX
- Published
- 2026-02-13
- DOI
- https://doi.org/10.1016/j.softx.2026.102555
- Primary Topic
- Mineral Processing and Grinding
- Type
- article
- Field-Weighted Citation Impact
- 0.00