Related Experiment Video
Updated: Sep 16, 2026

On-Chip Crystallization and Large-Scale Serial Diffraction at Room Temperature
Published on: March 11, 2022
MIR2-Toolkit: a Python program for multiple-image radiography analysis with integrated silicon-crystal diffraction
Farangis Foroughi1,2, David Krapohl2, Börje Norlin2
1Department of Physics and Engineering Physics, College of Arts and Science, University of Saskatchewan, 116 Science Place, Saskatoon, Saskatchewan S7N 5E2, Canada.
Abstract:
Analyzer-based multiple-image radiography (MIR) is an X-ray phase-contrast imaging technique. It retrieves absorption, refraction, and ultra-small-angle X-ray scattering signals using the angular selectivity of a perfect-crystal analyzer. Conventional MIR processing typically relies on normalization between the object and reference datasets and on precise angular alignment, thereby increasing sensitivity to mechanical and thermal instabilities. The recently developed MIR2 framework addresses these limitations by independently analyzing object and reference datasets, eliminating explicit normalization and global alignment steps, and incorporating angular calibration based on the dynamical theory of diffraction. To facilitate the practical application of this method, MIR2-Toolkit has been developed as a Python-based graphical software package for MIR2 analysis. The software carries out dark correction, region-of-interest selection, rocking-curve handling, independent angular calibration, and pixel-wise Gaussian fitting of angular intensity profiles to retrieve contrast images. In addition to the main MIR2 workflow, the toolkit includes silicon-crystal diffraction modules for calculation and visualization of diffraction properties, reflectivity curves, and Darwin widths in symmetric Bragg and Laue geometries. In this paper, the MIR2 workflow implemented in the software is described, the program structure is outlined, and the main analysis and diffraction-modeling features are presented.

