GUI program for reduction and exploration of 2D X-ray diffraction data
Project description
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.9+
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. Under Windows and Linux the program can be started by running the executable (e.g. Dioptas.exe or Dioptas). Under MacOS X the folder will contain an app folder which can be double-clicked for starting. Please accept the security prompts.
Unfortunately, I am currently unable to create working App for MacOS X. Users of this convoluted operation system need to install dioptas using "pip" and then start it from the commandline. (see below)
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 pip package manager:
pip install dioptas
and then run Dioptas by typing:
dioptas
in the commandline.
Running the Program from source
The easiest way to create a working environment for Dioptas is to use the poetry package manager. A new environment is created by running:
poetry install
This will create a new environment with all the required packages. The environment can be activated by running:
poetry shell
Afterward the program can be started by running:
dioptas
In order to run the program without activating the environment, the program can be started by running:
poetry run dioptas
In case you want to run the Dioptas from source without poetry, you need to install the required packages yourself.
The packages are listed in the file pyproject.toml
. The program can then be started by running:
python run.py
Project details
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
File details
Details for the file dioptas-0.6.1.tar.gz
.
File metadata
- Download URL: dioptas-0.6.1.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da69e1c4f0400e8a3773990acd1666a3492b2d1011bdb3be0bc6310d11465dda |
|
MD5 | b134c5d09d7acc70ab0260fadd20e1d4 |
|
BLAKE2b-256 | bd013318058aea9dcc77c2c3566aee3b64b5aba83c5102e1cf0525abdf96774b |
File details
Details for the file dioptas-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: dioptas-0.6.1-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aaedd129310ffc798bf8b36932105c2d97dc089fd06ba25f6f8028ea3485534 |
|
MD5 | 59ad75b669dbd5ab59f1d0c0ef705fa9 |
|
BLAKE2b-256 | a6b2a4848e07570b8eef8b09e669a7e7d59b437bfbb6f0575374a77d35871e5b |