Skip to main content

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.

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 download will contain a .tar.gz archive. Extract it first, then right-click the .app folder and select "Open" to start the program.

If macOS shows a warning that the app "cannot be verified", you need to remove the quarantine attribute by running the following command in the Terminal:

find Dioptas_*.app -exec xattr -c {} \;

Python Package

The easiest way to install the dioptas python package is using pip.

pip install dioptas

and then run Dioptas by typing:

dioptas

in the commandline.

We also maintain a conda-forge version of dioptas. You can add the conda-forge channel to your conda distribution and then install dioptas via conda should be working correctly.

conda config --add channels conda-forge
conda install dioptas

Running the Program from source

In order to run the program from source, the easiest way is to use the uv package manager. Clone the repository from github and navigate to the repository:

git clone https://github.com/Dioptas/Dioptas.git
cd Dioptas

Note: This will clone the develop branch by default, which contains the latest development version. If you want to use the latest stable release instead, switch to the main branch after cloning:

git checkout main

Install uv and the dependencies by running:

python -m pip install uv
uv sync

This will create a new environment with all the required python packages in .venv.

Afterward the program can be started by running:

uv run dioptas

In order to run the program without uv, 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

dioptas-0.8.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dioptas-0.8.0-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file dioptas-0.8.0.tar.gz.

File metadata

  • Download URL: dioptas-0.8.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dioptas-0.8.0.tar.gz
Algorithm Hash digest
SHA256 57ea027bd54b4e993634df7a582c932d2e896f43aa3ee247ad870cabb095c98b
MD5 48e60abe6fd0217e69e21266fdd0f1cd
BLAKE2b-256 65edc48a7b1a20618ff66275ac7f6c0927665fe5a8ee1066e071ec3c2f6b4cd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for dioptas-0.8.0.tar.gz:

Publisher: CD.yml on Dioptas/Dioptas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dioptas-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: dioptas-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dioptas-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6894c0a726891071a01046a6929a9b8164ed2db6dbf385ffd48444835bfb760
MD5 7131400b60f2e1d88028aea00207d7a9
BLAKE2b-256 6191744791b105135aea86cb5bcf0e69c2f0a7886de9cba407b7c3c07cb30984

See more details on using hashes here.

Provenance

The following attestation bundles were made for dioptas-0.8.0-py3-none-any.whl:

Publisher: CD.yml on Dioptas/Dioptas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page