Related Experiment Video
Updated: Aug 10, 2025

Microfluidic Chips for In Situ Crystal X-ray Diffraction and In Situ Dynamic Light Scattering for Serial Crystallography
Published on: April 24, 2018
xrd_simulator: 3D X-ray diffraction simulation software supporting 3D polycrystalline microstructure morphology
Axel Henningsson1, Stephen A Hall1
1Div. Solid Mechanics, Lund University, Ole Römers väg 1, Lund, Sweden.
Abstract:
An open source Python package named xrd_simulator, capable of simulating geometrical interactions between a monochromatic X-ray beam and a polycrystalline microstructure, is described and demonstrated. The software can simulate arbitrary intragranular lattice variations of single crystals embedded within a multiphase 3D aggregate by making use of a tetrahedral mesh representation where each element holds an independent lattice. By approximating the X-ray beam as an arbitrary convex polyhedral region in space and letting the sample be moved continuously through arbitrary rigid motions, data from standard and non-standard measurement sequences can be simulated. This implementation is made possible through analytical solutions to a modified, time-dependent version of the Laue equations. The software, which primarily targets three-dimensional X-ray diffraction microscopy (high-energy X-ray diffraction microscopy) type experiments, enables the numerical exploration of which sample quantities can and cannot be reconstructed for a given acquisition scheme. Similarly, xrd_simulator targets investigations of different measurement sequences in relation to optimizing both experimental run times and sampling.
Related Concept Videos
X-ray Diffraction of Biological Samples
According to Bragg's law, when X-rays strike the sample positioned on a stage, the rays are scattered by the electron clouds around the sample atoms. The X-ray diffraction or scattering is caused by constructive interference of the X-ray waves that reflect off the internal...
X-ray Crystallography
Diffraction
Diffraction is the change in the direction of travel experienced by an electromagnetic wave when it encounters a physical barrier whose dimensions are comparable to those of the wavelength of the light. X-rays are electromagnetic radiation with wavelengths about as long as the distance between neighboring...

