DxTools

Processing XRD data files recorded with the Bruker D8 diffractometer

View the Project on GitHub

If you use this program in academic work, please cite:

A. Boulle, “DxTools: Processing large data files recorded with the Bruker D8 diffractometer”, J. Appl.Cryst. 50, 967-974 (2017). Link to article.

Installation instructions

DxTools requires Python 3, SciPy and Matplotlib. DxTools is not compatible with Python 2.7 and below.

Linux

In a terminal run (as root) apt install python3 python3-scipy python3-matplolib. In the DxTools folder, run the program with python3 dxtools.py

MS Windows

The most straightforward way to install Python and all required dependencies in Windows is to install a full-featured scientific Python distribution, like Anaconda, Canopy, or Python(x,y).

If you have a Python 2.7 installation that you want to keep, you will need to have a separate installation of Python 3. A simple way to manage different Python environments is to use the Anaconda distribution. After installation, in a command window create a Python 2.7 environment with conda create -n py27 python=2.7 anaconda and a Python 3.5 environment with conda create -n py35 python=3.5 anaconda. Switch from one to another with activate py27 and activate py35.

Usage

Download DxTools and uncompress the archive to your hard drive. In a command-line window, move to the DxTools folder and run the program with python dxtools.py (Windows) or python3 dxtools.py (Linux). The typical workflow with DxTools is the following:

The processed data files are automatically saved to your hard drive in the same folder as the input data. The figures can be saved from the interface. While processing, a temporary tmp file (containg all raw data) is written in the DxTools folder. It is automatically deleted upon closing.

Features

DxTools automates data formating for most major laboratory XRD experiments:

Export options

Depending on the type of experiment, several data exporting options are available. No modification is brought to the intensity values. The raw data is only rearranged in various formats.

Data analysis

When relevant, the peak position, width and area are plotted vs. the secondary scanning axis. This can be done in 2 ways:

Note that is only relevant when there is one single peak in the scanned area.

Point skipping

The data range can be cropped along the primary and secondary scanning axes by specifying the number of data points to be removed at the beginning and the end of the scanning ranges. This is useful to eliminate artifacts at the edges of the 1D detector or reduce an otherwise excessive scanning range.

Supported file formats

For the moment, DxTools suppports Bruker’s uxd and brml file formats.