Scroll to navigation

DIFF_TOMO(1) User Commands DIFF_TOMO(1)


diff_tomo - CLI interface for diffraction tomography data reduction


usage: diff_tomo [options] -p ponifile imagefiles*

Azimuthal integration for diffraction tomography. Diffraction tomography is an experiment where 2D diffraction patterns are recorded while performing a 2D scan, one (the slowest) in rotation around the sample center and the other (the fastest) along a translation through the sample. Diff_tomo is a script (based on pyFAI and h5py) which allows the reduction of this 4D dataset into a 3D dataset containing the rotations angle (hundreds), the translation step (hundreds) and the many diffraction angles (thousands). The resulting dataset can be opened using the PyMca ROItool where the 1d dataset has to be selected as last dimension. The output file aims at being NeXus compliant. This tool can be used for mapping experiments if one considers the slow scan direction as the rotation. but the *diff_map* tool provides in addition a graphical user interface.

positional arguments:

List of files to calibrate

optional arguments:

show this help message and exit
show program's version number and exit
HDF5 File where processed sinogram was saved, by default diff_tomo.h5
switch to verbose/debug mode, defaut: quiet
Prefix or common base for all files
Process all files with this extension
number of points in translation. Mandatory
number of points in rotation. Mandatory
number of points in diffraction powder pattern, Mandatory
list of dark images to average and subtract
list of flat images to average and divide
file containing the mask, no mask by default
file containing the diffraction parameter (poni-file), Mandatory
do not process the first files
process using OpenCL on GPU
show statistics at the end

If the number of files is too large, use double quotes "*.edf"

March 2022 diff_tomo from pyFAI version 0.21.3: 03/02/2022