cationCalc4EPMA: A MATLAB-based open-source tool for reproducible cation calculations from EPMA datasets
Year: 2026
Type: software-paper
Abstract: 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.
Source: SoftwareX
Language: English
Subfield: Geophysics
Field: Earth and Planetary Sciences
Domain: Physical Sciences
Open Access status: gold
Estimated APC paid: $1,200
Awards: G2244839951, G3660632507, G4146508758
OpenAlex ID: W7128785401
