Skip to content

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

License

Notifications You must be signed in to change notification settings

kif/multianalyzer

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published