Installation

No-install option

The fastest way to get started is the hosted Streamlit app — no Python, no installation required:

Open the link in your browser, upload your files and extract ePDFs directly. See Streamlit application for a description of the interface.

Requirements

ePDFsuite requires Python 3.8 or later and the following packages:

  • numpy, scipy, matplotlib

  • hyperspy (DM4/DM3 file reading)

  • pyFAI (geometric calibration and azimuthal integration)

  • scikit-image (MTF computation, image processing)

  • pymatgen (scattering factor tables)

  • ipywidgets (interactive Jupyter GUI)

From source

git clone https://github.com/nicoratel/ePDFsuite.git
cd ePDFsuite
pip install -e .

Camera calibration

MTF correction requires a pre-measured MTF file (.mtf). See the calibration guide on GitHub for instructions on measuring the MTF with the slanted-edge method.

Optional dependencies

pdfanalysis is an independent companion library for PDF analysis, allowing the refinement of atomic structural models against experimental PDF obtained by ePDFsuite or pdfgetX3. It is not required by ePDFsuite but provides an additional Streamlit-based application accessible via the command line:

pdfanalysis-app

Install it alongside ePDFsuite with:

pip install ePDFsuite[pdfanalysis]

or as a standalone package:

pip install pdfanalysis