For users who do not have the expertise or necessity for command line analysis, PDFgui is a convenient and easy to use graphical front end for the PDFfit2 refinement program. It is capable of full-profile fitting of the atomic pair distribution function (PDF) derived from x-ray or neutron diffraction data and comes with built in graphical and structure visualization capabilities.

PDFgui is also included in xPDFsuite, a powerful end-to-end software for X-ray PDF analysis. xPDFsuite is designed for flexible, high throughput PDF analyses and contains many features for interrogating, comparing and modeling data as well as simply doing data reduction.


Screen-shot of PDFgui during a refinement of multiple data-sets


By downloading and using this software you are agreeing to the conditions specified in the software license.

PDFgui is distributed as a software package for Anaconda Python. PDFgui is available for all operating systems supported by Anaconda, namely for 32 and 64-bit Linux, Mac OS X, and 32 and 64-bit Windows.

As a prerequisite for PDFgui installation, download and install Anaconda for Python 2.7 from https://www.continuum.io/downloads.


If you already use Anaconda for Python 3.5, create a separate Anaconda environment py27 which will provide Python 2.7 instead of 3.5.

conda create --name=py27 python=2.7
source activate py27

On Windows use just activate py27. Make sure that py27 environment is activated in your shell prior to running the “install” or “update” commands below.

PDFgui is available from the “diffpy” channel of Anaconda packages. Open a Terminal window or Anaconda Command Prompt on Windows and install PDFgui using the conda command

conda config --add channels diffpy
conda install diffpy.pdfgui

All done. To start PDFgui enter pdfgui command in a Terminal or use the DiffPy start menu on Windows. PDFgui can be also started from the Launcher application included with Anaconda.

PDFgui updates

The Anaconda package system makes it easy to prepare and distribute software updates and bugfixes. To update to the latest version of PDFgui use

conda update --channel=diffpy diffpy.pdfgui

To use a bleeding edge development version, visit the project source repository at https://github.com/diffpy/diffpy.pdfgui and consult its README file.

Other versions

When Anaconda Python is not available, PDFgui can be installed from sources. The latest source package is at the Python Package Index and the prior versions are at https://github.com/diffpy/diffpy.pdfgui/releases. See the README document for further details on installation from sources,

Finally, here are the previous single-file installers. Although quite outdated, they might be handy if there is some problem with Anaconda or if one needs to install without Internet connection.

Name Date Size Description
diffpy-1.0-r3067.exe 2009-04-10 21.5 M Windows self extracting installer
diffpy-1.0-r3067.tgz 2009-04-10 6.4 M Linux and Mac tarball

MD5 check sums for these installer files are available here.

Documentation and help