Python based GUI-Program for integration and exploration of 2D x-ray diffraction images.
Clone or download


A GUI program for fast analysis of powder X-ray diffraction Images. It provides the capability of calibrating, creating masks, having pattern overlays and showing phase lines.


Clemens Prescher (


* python 2.7/3.5
* qtpy with PyQt5/PyQt4/PySide
* numpy
* scipy
* future
* pyFAI (
* fabio (
* pyqtgraph (
* scikit-image
* PyCifRw


* pyopencl (increasing pyFAI integration speed)
* fftw3 (increasing pyFAI instegration speed)

It is known to run on Windows, Mac and Linux. For optimal usage on a windows machine it should be run with 64 bit python. When used with 32 bit Dioptas occasionally crashes because of limited memory allocation possibilities.



Executable versions for Windows, Mac OsX and Linux (all 64bit) can be downloaded from: or

The executable versions are self-contained folders, which do not need any python installation.


In order to make changes to the source code yourself or always get the latest development versions you need to install the required python packages on your machine.

The easiest way to install the all the dependencies for Dioptas is to use the Anaconda 64bit Python 3 distribution. Please download it from After having the added the scripts to you path (or use the Anaconda prompt on windows) please run the following commands on the commandline:

conda install --yes python=3.5 numpy pillow pycifrw scipy pandas matplotlib python-dateutil nose h5py pyqt scikit-image cython future qtpy fabio lmfit mock -c conda-forge
conda install --yes pyqtgraph pyfai -c cprescher
pip install pyepics

Running the Program

You can start the program by running the script in the dioptas folder by: