How to Master Crystalsim: Step-by-Step Tutorial Crystalsim is a high-utility crystallographic freeware program designed to simulate and analyze X-ray diffraction (XRD) data. By calculating all possible Miller indices
planes for a selected crystal system, it bridges the gap between raw experimental data and precise materials characterization. Whether you are handling powder diffraction or single-crystal analysis, mastering Crystalsim allows you to rapidly index peaks and export clean structural models.
This step-by-step tutorial walks you through everything from structural configuration to advanced peak indexing. 🛠️ Phase 1: Preparing Your Structural Inputs
To begin a simulation, Crystalsim requires exact geometric boundaries of your target crystal lattice. You can populate this data using two distinct approaches.
Option A: Importing a CIF — Obtain a Crystallographic Information File (.cif) from an open-access repository like the Crystallography Open Database. Drag and drop or browse to open the file to instantly auto-populate the program.
Option B: Manual Lattice Entry — If you are simulating a theoretical structure or working from literature, manually input the cell dimensions along with their respective interfacial angles: (angle between (angle between (angle between 🧪 Phase 2: Running the Plane Simulation
Once the structural boundaries are set, Crystalsim maps out the theoretical reciprocal lattice points to identify valid diffraction planes. Step 1: Set the X-Ray Target Wavelength
Select your virtual X-ray source. The choice of anode changes your calculated peak positions via Bragg’s Law ( Copper ( ): (standard for most benchtop laboratory XRD scans). Molybdenum ( ):
(frequently used for single-crystal setups or deeper sample penetration). Step 2: Establish the Scan Boundaries
Define the angular field over which the simulation runs. For standard inorganic compounds, setting a window of
captures the vast majority of primary high-intensity reflections. Step 3: Compute Interplanar Spacings
Click Simulate. Crystalsim processes the structural space matrix to generate: Miller Indices (
): The orientation coordinates of the reflecting atomic planes. -spacing (
): The exact physical distance between parallel planes of atoms. Theoretical
Angles: The precise position where a peak must occur for that specific wavelength. 📊 Phase 3: Powder Diffraction Indexing & Peak Comparison
The real power of Crystalsim lies in overlapping raw laboratory data with your newly generated theoretical baseline.
[ Load Raw XRD Data (.txt / .csv) ] —> [ Crystalsim Auto-Indexing Engine ] | v [ Matches 2-Theta Peaks to {hkl} ]
Import Experimental Scans: Upload your raw, background-subtracted instrument data file.
Execute Auto-Indexing: Run Crystalsim’s indexing wizard. The algorithm matches the experimental maxima against the generated
Identify Impurities: Look for extraneous experimental peaks that don’t match any theoretical
marks. These unindexed lines signal secondary phases, unreacted starting materials, or sample contamination. 💾 Phase 4: Data Export and Downstream Workflow
Once your indexing is complete, you must extract the processed dataset for publication-grade plotting or full profile refinement.
Save as CSV: Use the built-in export function to save your completed simulation matrix as a .csv sheet. This file stores your matched -spacings, and intensity values.
Plotting and Presentation: Import your exported .csv into software like OriginLab, MATLAB, or Python’s Matplotlib to overlay the simulated stick pattern on top of your experimental diffraction trace.
To help me tailor the next part of this guide, what crystal system (e.g., cubic, tetragonal, monoclinic) are you currently analyzing? Also, (IUCr) Crystalsim
Leave a Reply