Skip to content

tmichela/Dioptas

 
 

Repository files navigation

Dioptas

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.

Maintainer

Clemens Prescher (clemens.prescher@gmail.com)

Requirements

* python 3.4-3.7
* qtpy with PyQt5/PyQt4/PySide
* numpy
* scipy
* future
* pyFAI (https://github.com/silx-kit/pyFAI)
* fabio (https://github.com/silx-kit/fabio)
* pyqtgraph (https://github.com/pyqtgraph/pyqtgraph
* scikit-image
* PyCifRw

optional:

* pyopencl (increasing pyFAI integration speed)
* fftw3 (increasing pyFAI instegration speed)
* pyopengl and pyopengl-accelerate (for 3D view of batch integrated patterns)

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.

Installation

Executables

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

https://github.com/Dioptas/Dioptas/releases

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

Code

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 (or miniconda) 64bit Python 3 distribution. Please download it from https://www.continuum.io/downloads. After the installer added the scripts to your path (or use the Anaconda prompt on windows) please run the following commands on the commandline:

conda install --yes dioptas pyfai -c cprescher

and then run Dioptas by typing:

dioptas

in the commandline.

Running the Program from source

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

python Dioptas.py

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 94.4%
  • Makefile 5.2%
  • Other 0.4%