orGUI: Orientation and Integration with 2D detectors
Project description
orGUI is a Python GUI and analysis toolkit for surface X-ray diffraction data from large 2D detectors. It helps determine single-crystal orientations, calculate diffractometer settings, and integrate stationary or rocking scans in reciprocal-space coordinates.
Its primary use cases are High Energy Surface X-ray Diffraction (HESXRD) and Transmission Surface Diffraction (TSD).
Installation
Install orGUI with its full GUI and analysis dependency set:
pip install orGUI[full]
For a minimal install:
pip install orGUI
Geometry and Detector Calibration
orGUI uses the six-circle surface-diffraction convention of Lohmeier and Vlieg, with orGUI-specific modifications: the phi circle rotates around x instead of z, the machine azimuth rotates the diffractometer around the incident beam, and the ID31-style theta axis is represented internally as \(\theta = -\omega\). In the laboratory frame, y points along the beam, z is set by the azimuth direction, and x is perpendicular to both.
The detector geometry follows the pyFAI convention. Detector calibrations from pyFAI, including .poni files from calibration standards, can be used to map detector pixels to scattering angles and reciprocal-space coordinates.
Integration Modes
Stationary reciprocal-space integration: Integrates a scan along a line in reciprocal lattice coordinates, such as a crystal truncation rod (CTR). orGUI calculates the line intersections with the Ewald sphere and places ROIs at the corresponding detector positions. Each image produces one I(hkl). This is the fastest way to get integrated CTRs from large 2D detectors.
Fixed-pixel integration: Integrates a detector ROI at a fixed pixel position. Corresponds to a conventional rocking scan if motors are moved. This is often useful for time-resolved measurements.
Rocking reciprocal-space integration: Defines a reciprocal-space line and integrates multiple ROIs along the line as rocking scans. This is often useful for quantitative CTR extraction because the rocking dimension helps separate signal from background and improves CTR resolution at low Qz.
Rocking Bragg integration: Calculates allowed Bragg peaks and their position on the detector from the crystal, UB matrix, detector calibration, strain, then integrates those positions as rocking scans.
Documentation
The documentation is available on Read the Docs:
Further Reading
The geometry and orientation-matrix workflows build on:
Busing and Levy, Acta Crystallographica 22, 457-464 (1967).
Lohmeier and Vlieg, Journal of Applied Crystallography 26, 706-716 (1993).
License
orGUI is licensed under the MIT license.
Citation
orGUI releases can be cited via their DOI on Zenodo:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orgui-1.5.0rc1.tar.gz.
File metadata
- Download URL: orgui-1.5.0rc1.tar.gz
- Upload date:
- Size: 8.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58ffb6b03564b36ac2c00d63bfc149b623dbfb1ec30a4fa2bc581ccc17fd7b38
|
|
| MD5 |
c1919d4a3f949d14661fc21f0f6de3ea
|
|
| BLAKE2b-256 |
dd0e743d86be39a3a08ae3a8d1ed1fb669131a59354af99494f4000303f90905
|
Provenance
The following attestation bundles were made for orgui-1.5.0rc1.tar.gz:
Publisher:
release.yml on tifuchs/orGUI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orgui-1.5.0rc1.tar.gz -
Subject digest:
58ffb6b03564b36ac2c00d63bfc149b623dbfb1ec30a4fa2bc581ccc17fd7b38 - Sigstore transparency entry: 1549392671
- Sigstore integration time:
-
Permalink:
tifuchs/orGUI@b7cb35554b0d7e07d9ab1819078ebeda6bfe11e7 -
Branch / Tag:
refs/tags/v1.5.0-rc.1 - Owner: https://github.com/tifuchs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b7cb35554b0d7e07d9ab1819078ebeda6bfe11e7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file orgui-1.5.0rc1-py3-none-any.whl.
File metadata
- Download URL: orgui-1.5.0rc1-py3-none-any.whl
- Upload date:
- Size: 5.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb212c4508ebf3933f7dfe25d31d1d0e1dacc73010479bb2069a013140d37648
|
|
| MD5 |
51a1f5539d78ff62383d8117c7b571c2
|
|
| BLAKE2b-256 |
4e9e79d3b8ead15baaf59c69332d45bcaa72cf5258dc0f946829674e0acee941
|
Provenance
The following attestation bundles were made for orgui-1.5.0rc1-py3-none-any.whl:
Publisher:
release.yml on tifuchs/orGUI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orgui-1.5.0rc1-py3-none-any.whl -
Subject digest:
bb212c4508ebf3933f7dfe25d31d1d0e1dacc73010479bb2069a013140d37648 - Sigstore transparency entry: 1549392790
- Sigstore integration time:
-
Permalink:
tifuchs/orGUI@b7cb35554b0d7e07d9ab1819078ebeda6bfe11e7 -
Branch / Tag:
refs/tags/v1.5.0-rc.1 - Owner: https://github.com/tifuchs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b7cb35554b0d7e07d9ab1819078ebeda6bfe11e7 -
Trigger Event:
push
-
Statement type: