OnWorks favicon

diff_tomo - Online in the Cloud

Run diff_tomo in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command diff_tomo that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



diff_tomo - diffraction tomography sinogram construction


usage: diff_tomo [options] -p ponifile imagefiles* If the number of files is too large,
use double quotes like "*.edf"

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 PyMca roitool where the 1d dataset has to be selected as last
dimension. This file is not (yet) NeXus compliant. This tool can be used for mapping
experiments if one considers the slow scan direction as the rotation.

positional arguments:
FILE List of files to calibrate

optional arguments:
-h, --help
show this help message and exit

-V, --version
show program's version number and exit

-o FILE, --output FILE
HDF5 File where processed sinogram was saved, by default diff_tomo.h5

-v, --verbose
switch to verbose/debug mode, defaut: quiet

-P FILE, --prefix FILE
Prefix or common base for all files

Process all files with this extension

-t NTRANS, --nTrans NTRANS
number of points in translation. Mandatory

-r NROT, --nRot NROT
number of points in rotation. Mandatory

-c NDIFF, --nDiff NDIFF
number of points in diffraction powder pattern, Mandatory

-d FILE, --dark FILE
list of dark images to average and subtract

-f FILE, --flat FILE
list of flat images to average and divide

-m FILE, --mask FILE
file containing the mask, no mask by default

-p FILE, --poni FILE
file containing the diffraction parameter (poni-file), Mandatory

-O OFFSET, --offset OFFSET
do not process the first files

-g, --gpu
process using OpenCL on GPU

-S, --stats
show statistics at the end

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

Use diff_tomo online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • 6
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 7
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • More »

Linux commands