Figure 2
Our synthetic XRD scan generation framework. Based on a library of minerals, a database of base scans with variations of unit-cell parameters, PO and CS is generated. Then, we mix the single-phase diffraction patterns into a multiphase mixture using randomly picked phases and base scans that we scale according to their also randomly assigned weight percentages, wpi. Finally, we add a polynomial background function, air scattering and noise to complete the fully simulated compound XRD scan. |