Skip to main content

mlgidGUI

Logo of mlgidGUI

Project summary

mlgidGUI is a graphical tool for the analysis and annotation of 2D scattering data e.g. Grazing-Incidence Wide-Angle X-ray Scattering (GIWAXS). The resulting datasets can be used for training and testing ML models or further manual analysis. mlgidGUI is well suited for the annotation of 2D diffraction images with radial symmetry. In particular, it focuses on grazing-incidence wide-angle scattering data analysis and its specific needs.

Installation

Readily compiled packages for the x64 architecture with Windows and Unix are available at the releases page: https://github.com/mlgid-project/mlgidGUI/releases

To run the program on Windows simply double click on the file and ignore the security warnings.

Follow these instructions to run the AppImage: https://docs.appimage.org/introduction/quickstart.html

Alternative: Installation with conda

Clone with git:

git clone https://github.com/mlgid-project/mlgidGUI.git

cd ./mlgidGUI

pip install ./

python3 main.py

Alternative: Installation from PyPI

pip install mlgidGUI

  • Apply a Patch to pyqtgraph

pip install git+https://github.com/pyqtgraph/pyqtgraph.git@6eb0bf1a928c3e8fef332bbebe8a9da3be0ab19a

Usage

Import images or HDF5 files into the program, select an image in the Project Manager and begin labeling. To add annotations, hold Ctrl + Alt, then click, hold, and drag the mouse over the image, similar to using a shape-drawing tool. The key combination Ctrl + H can be used to hide the annotations. The annotated data can be exported as PASCAL-VOC dataset or as an HDF5 file.

  • We added a CIF file, a GIWAXS image, and an HDF5 file in the docs\example_files folder to provide the user with examples.
  • For a short demonstration of the program usage, please refer to the Workflow section.
  • For a detailed guidance, please refer to the Documentation section

Papers

This project is part of our broader efforts to improve and automate GIWAXS analysis. Below is a list of related papers.

ML-based peak detection and structure refinement

Tracking perovskite crystallization via deep learning-based feature detection on 2D X-ray scattering data

V. Starostin, V. Munteanu, A. Greco, E. Kneschaurek, A. Pleli, F. Bertram, A. Gerlach, A. Hinderhofer, and F. Schreiber. npj Comput Mater 8, 101 (2022) https://doi.org/10.1038/s41524-022-00778-8

Deployment at synchrotron facilities for real-time analysis

End-to-end deep learning pipeline for real-time processing of surface scattering data at synchrotron facilities

V. Starostin, L. Pithan, A. Greco, V. Munteanu, A. Gerlach, A. Hinderhofer, and F. Schreiber. Synchrotron Radiation News, 35:4, 21-27 (2022) https://doi.org/10.1080/08940886.2022.2112499

Benchmarking peak detection

Benchmarking deep learning for automated peak detection on GIWAXS data

C. Völter, V. Starostin, D. Lapkin, V. Munteanu, M. Romodin, M. Hylinski, A. Gerlach, A. Hinderhofer, F. Schreiber. Journal of Applied Crystallography (2025) accepted https://doi.org/10.1107/S1600576725000974

Metadata

Release files for mlgidgui 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mlgidgui 0.5.1
File Interpreter ABI Platform Actions
mlgidgui-0.5.1-py3-none-any.whl Python 3 none any Details for mlgidgui-0.5.1-py3-none-any.whl

Release files / mlgidgui-0.5.1-py3-none-any.whl

Download URL mlgidgui-0.5.1-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
711bea9e52f050e6159db94753d9fa697afd4e82e99cf55f052c83cebb3e002d
BLAKE2b-256 checksum
How to use checksums
b44e0c9ee947418f41bdd7e14a9708806b954c5452e310133c790422353bbfd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Security for mlgidgui 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page