kif / multianalyzer

Rebinning of powder diffraction data taken with multiple analyzer crystals and a large area detector
MIT License
0 stars 2 forks source link

DOI

Multianalyzer

Rebinning of powder diffraction data taken with multiple analyzer crystals and a large area detector

This project is about the rebinning of data comming from the high resolution powder diffraction beamline (ID22) at the ESRF. It implements the math which are described in J. Appl. Cryst. (2021). 54, 1088-1099.

There are two implementations, Cython parallelized with OpenMP and OpenCL running on GPU. The later is faster.

The main executable is id22rebin which takes a BLISS-HDF5 file with ROI-collections in it (as generated on the ID22 beamline) and rebins the intensities of the diffeent ROI, after calculating their precise position. The geometry is described in an output file from TOPAS. Intensities are grouped per analyzer crystal and per column (depth dependent) and need to be normalized.

Installation

pip install multianalyzer

Development version:

git clone https://github.com/kif/multianalyzer
cd multianalyzer
pip install -r requirements.txt
pip install .

The tests are only validating input file reading.