Data reduction of multigrain diffraction data

Fabric is a program for data reduction of multigrain diffraction data.
This program is presently under heavy development. There are two different versions of the program a Matlab version, which can perform analysis of the orientation distribution of the grain and reconstruct this distribution. Eventually the idea is to calculate reflection profiles and integrate the reflections by a fitting procedure. The Matlab version has a number of limitations e.g. only two detector file formats are supported and no correction for detector imperfections.
The python program determines the spot positions with crystalline grains with known orientation and unit cell dimensions. Checks for possible overlaps between spots and harvesting the intensity in the area around the calculated reflection position. Finally the intensity is integrated and an file is written with Miller indices, reflection intensities and an estimated uncertainty, Presently the integration method is quite crude - just summation of the pixels inside the user defined shoebox area. All detector formats implemented in FabIO are supported.