cti

Summary

The HEXRD project is developing a cross-platform, open-source library for the general analysis of X-ray diffraction data. This includes powder diffraction, Laue diffraction, and High Energy Diffraction Microscopy (a.k.a. 3DXRD, multi-grain rotation method) modalities.At its core, HEXRD provides an abstraction of a generic diffraction instrument with support for multiple detectors. This includes optimized transforms from the direct and reciprocal crystal lattices to the local detector coordinates, harnesses for interpolating image data into scattering angle coordinates, and sophisticated calibration routines.

Using hexrd

Recent hexrd versions are installed as conda environments, and include hexrdgui and ImageD11. The hexrd environment can be invoked from modules or using the conda environment directly (or by adding hexrd entries to ~/.conda/environments.txt):

# setup with modules
module load maxwell
module avail hexrd
   ------ /software/etc/modulefiles --------
   hexrd/0.8.10 hexrd/0.8.16

module load maxwell hexrd/0.8.16  # version number can be omitted if you always want the latest one
hexrdgui

# setup with conda environments
module load maxwell conda
. conda-init
conda activate /software/hexrd/0.8.16
hexrdgui


Using  hexrd v0.3.3

The old hexrd is installed in system path, so does not require any initial setup, just invoke 'hexrd'. It's however deprecated and has severe limitations.

Installation

Installing hexrd is very simple. The recipe used:

conda create --prefix /software/hexrd/0.8.16 python=3.8
conda activate /software/hexrd/0.8.16
conda install -c hexrd -c conda-forge hexrd hexrdgui
python -m pip install ImageD11