PyFAI can perform 1D or 2D integration. To view 1D patterns, I will use grace Let’s look at the integrated patterns obtained during calibration.
As you can see, only the 10 rings used for calibration are well defined.
This file is a text file containing as header all metadata needed to determine the geometry.
2D integrated pattern (aka cake images) are EDF images. Try fabio_viewer to see them.
Once again check the header of the file and the associated metadata.
We will work with the 20 images used for the calibration.
Either select files to process using the file-dialog or provide them on the command line.
Simply load the PONI file and check the populated fields.
Check the dark/flat/ ... options Use the check-box to activate the option.
Do NOT forget to specify the number of radial bins !
Unless the processing will be done on the CPU using OpenMP.
Press OK to start the processing.
The generation of the Look-Up table takes a few seconds then all files get processed quickly
Same a previously ... but provide a number of azimuthal bins !
Once again I used grace and fabio_viewer to display the result.
That’s all.