Skip to main content

Collection of algorithms and functions for ultrafast electron diffraction

Project description

Windows Build Status Documentation Build Status PyPI Version Conda-forge Version Supported Python Versions

Collection of algorithms and functions for ultrafast electron diffraction. It aims to be a fully-tested package taking advantage of Python’s most recent features.

For examples, see our tutorials.

API Reference

The API Reference on provides API-level documentation, as well as tutorials.


scikit-ued is available on PyPI; it can be installed with pip:

python -m pip install scikit-ued

scikit-ued is also available on the conda-forge channel for the conda package manager:

conda config --add channels conda-forge
conda install scikit-ued

To install the latest development version from Github:

python -m pip install git+git://

After installing scikit-ued you can use it like any other Python module as skued.

Each version is tested against Python 3.6. If you are using a different version, tests can be run using the standard library’s unittest module.

Installation on Windows

Some of scikit-ued’s dependencies require compilation. If you are experiencing problems installing scikit-ued on Windows, here are some potential solutions:

  • Install a C/C++ compiler. The easiest way to do so is to install the Visual Studio Build Tools. More information is available on the Python Wiki. Don’t forget to upgrade setuptools to the latest version as well to avoid common problems:

    pip install --upgrade setuptools
  • Download the wheels from scikit-ued’s wheelhouse. These are pre-compiled dependencies that will only work on Windows. To install a wheel, you can use pip:

    pip install some-pkg.whl
  • Install the dependencies using the conda package manager. Most notably, spglib and pycifrw are both available in the conda-forge channel:

    conda config --add channels conda-forge
    conda install spglib pycifrw numpy scipy ...

Optional dependencies

While it is not strictly required, the Fourier transform routines from pyfftw will be preferred If pyfftw is installed.

For displaying diffraction images with interactive contrast using the skued.diffshow function, PyQtGraph is required.


If you are using the baseline-removal functionality of scikit-ued, please consider citing the following publication:

[1]L. P. René de Cotret and B. J. Siwick, A general method for baseline-removal in ultrafast electron powder diffraction data using the dual-tree complex wavelet transform, Struct. Dyn. 4 (2017) DOI: 10.1063/1.4972518.

Support / Report Issues

All support requests and issue reports should be filed on Github as an issue.


scikit-ued is made available under the MIT License. For more details, see LICENSE.txt.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for scikit-ued, version
Filename, size File type Python version Upload date Hashes
Filename, size scikit_ued- (286.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size scikit-ued- (163.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page