<i>pygid</i> : a Python package for fast data reduction in grazing-incidence diffraction

Advances in X-ray and neutron sources, as well as in area-detector technologies, enable the recording of several terabytes of raw two-dimensional detector data in a single experiment. While several efficient integration and conversion tools are available for data collected in transmission geometry, analogous solutions for grazing-incidence diffraction (including grazing-incidence X-ray diffraction and grazing-incidence wide-angle X-ray scattering) experiments have not yet achieved the same level of efficiency. The development of new data analysis tools, including machine-learning-based software for X-ray data, necessitates the establishment of a standardized format for the converted data. To address these challenges, we have developed a new Python library, <i>pygid</i>, which is designed to facilitate fast data processing while providing compatibility with various raw data formats, a standardized data storage format and an intuitive interface for straightforward use. <i>pygid</i> supports three types of coordinate systems and both transmission and grazing-incidence geometries. It is capable of handling large datasets, performing one-dimensional line cuts and simulating expected Bragg peak positions for given structures. The package facilitates sample and experimental metadata curation in accordance with the FAIR principles. As an integral part of the broader <i>mlgid</i> pipeline, <i>pygid</i> serves as the initial step linking raw scattering patterns with machine learning tools for data analysis. The <i>pygid</i> package is accessible at https://github.com/mlgid-project.

Authors

Institutions

Publication Details

Journal
Journal of Applied Crystallography
Published
2025-12-17
DOI
https://doi.org/10.1107/s1600576725010593
Primary Topic
Advanced X-ray Imaging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

pygid : a Python package for fast data reduction in grazing-incidence diffraction

Dmitry Lapkin, Alexander Hinderhofer, Ainur F. Abukaev, Oleg Konovalov et al.
Journal of Applied Crystallography
Advanced X-ray Imaging Techniques
article

pygid : a Python package for fast data reduction in grazing-incidence diffraction

Dmitry Lapkin, Alexander Hinderhofer, Ainur F. Abukaev, Oleg Konovalov, Constantin Völter, Florian Bertram, Sebastian Schwartzkopff, Mikhail Romodin, Frank Schreiber
article en

Abstract

Advances in X-ray and neutron sources, as well as in area-detector technologies, enable the recording of several terabytes of raw two-dimensional detector data in a single experiment. While several efficient integration and conversion tools are available for data collected in transmission geometry, analogous solutions for grazing-incidence diffraction (including grazing-incidence X-ray diffraction and grazing-incidence wide-angle X-ray scattering) experiments have not yet achieved the same level of efficiency. The development of new data analysis tools, including machine-learning-based software for X-ray data, necessitates the establishment of a standardized format for the converted data. To address these challenges, we have developed a new Python library, <i>pygid</i>, which is designed to facilitate fast data processing while providing compatibility with various raw data formats, a standardized data storage format and an intuitive interface for straightforward use. <i>pygid</i> supports three types of coordinate systems and both transmission and grazing-incidence geometries. It is capable of handling large datasets, performing one-dimensional line cuts and simulating expected Bragg peak positions for given structures. The package facilitates sample and experimental metadata curation in accordance with the FAIR principles. As an integral part of the broader <i>mlgid</i> pipeline, <i>pygid</i> serves as the initial step linking raw scattering patterns with machine learning tools for data analysis. The <i>pygid</i> package is accessible at https://github.com/mlgid-project.

Journal of Applied CrystallographyVol. 59(1)
Deutsches Elektronen-Synchrotron DESY (DE), European Synchrotron Radiation Facility (FR), University of Tübingen (DE)
Openalex Percentile: Top 24%
Advanced X-ray Imaging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.