Software Open Access

Mmpxrt; X-ray spectrometer simulation code with a detailed support of mosaic crystals.

Smid, Michal; Pan, Xiayun; Falk, Katerina

This is a a newly developed ray tracing code called mmpxrt, dedicated to study and design x-ray crystal optics, with a special focus on mosaic crystal spectrometers. Its main advantage over other currently available ray tracing codes is that it includes detailed and benchmarked algorithm to treat mosaic crystals, especially HOPG and HAPG (Highly Oriented / Annealed Pyrolitic Graphite). The code is dedicated primarily to study crystal spectrometers, therefore their implementation is very straightforward, and the code has mostly automatic evaluation of their performance. It can, however, be used universally to study other crystal instruments, like monochromators, mirrors, and analyzers. The code is publicly available in HZDR's Gitlab, written in Python3 and is distributed as a Python library with test cases included.

Files (16.1 MB)
Name Size
16.1 MB Download
All versions This version
Views 7070
Downloads 66
Data volume 96.4 MB96.4 MB
Unique views 4444
Unique downloads 44


Cite as