Metadata-Version: 2.1
Name: ODFex
Version: 0.0.2
Summary: A simple visualization tool intended to help interpret or predict the azimuthal variation in X-ray powder diffraction data
Author-email: Frederik H Gjørup <fgjorup@chem.au.dk>
Project-URL: Homepage, https://github.com/fgjorup/ODFex
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Education
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy >=1.24
Requires-Dist: pyqtgraph >=0.13
Requires-Dist: Dans-Diffraction >=2.2.3
Requires-Dist: PyQt6 >=6.7
Requires-Dist: PyOpenGL >=3.1.6

# ODFex
## Orientation Distribution Function Explorer
#### A simple visualization tool intended to help interpret or predict the azimuthal variation in X-ray powder diffraction data  
- 3D visualization of ODF (so far only fibre texture) in relation to the sample orientation  
- Visualization of the scattering vector $\vec{Q}$ and the contributing crystallite direction along the preferred orientation direction cone (POD)  
- Visualization of the azimuthal intensity variation of reflections at similar $2\theta$-values and their summed contribution  
- Easy drag-n-drop import of CIF files


### Examples
The images below show the two main windows in ODFex, the main window containing the user input interface and a plot of the azimuthal intensities of the selected reflections, and the 3D sphere window showing the ODF along with several relevant vectors and cone segments.
  
![ODFex main window example](example_1.png "ODFex main window example")
  
![ODFex 3D sphere window example](example_2.png "ODFex 3D sphere window example")

### Acknowledgements
The visuals, naming convention, and underlying math is heavily inspired by Wright et al. (1996)
### References
 [Wright, N. G., Nelmes, R. J., Belmonte, S. A., & McMahon, M. I. (1996). *Observation and modelling of preferred orientation in two-dimensional powder patterns.* Journal of Synchrotron Radiation, 3(3), 112-119.](https://doi.org/10.1107/S0909049596003627)
