Input File Generator from Mineral Modes

Python Code : Input File Generator from Mineral Modes 

This notebook generates UserCalc input files for modeling trace element concentrations and U-series disequilibria during partial melting. It converts mineral modes with depth and fixed partition coefficients into calculation-ready files, ideal for petrologic modeling.

For a detailed step-by-step guide on using this notebook to generate UserCalc input files from mineral modes and partition coefficients, check out YouTube tutorial:

Data files used for the code: