graeme-winter c129d095e0 CFLAGS to -fPIC
2019-01-18 15:00:28 +00:00
2018-03-27 11:14:33 +01:00
2018-10-09 14:12:30 +01:00
2019-01-18 15:00:28 +00:00

Durin

XDS plugin for reading HDF5 files following the NeXuS format or those written by Dectris Eiger detectors.

See:

Usage

In your XDS.INP add:

LIB=[path to durin-plugin.so]
NAME_TEMPLATE_OF_DATA_FRAMES=[data_path]/data_images_??????.h5

XDS will instruct the plugin to load [data_path]/data_images_master.h5 and this must be the Eiger master file or the NeXus file for the data collection.

It is generally assumed that the files [data_path]/data_images_data_xxxxxx.h5 contain the actual datasets and the master file contains HDF5 external links to these, but that is not required, so long as the master file contains an NXdata or NXdetector group with either a dataset named data or a series of datasets named data_000001, data_000002, etc.

Requirements

Building

First ensure that the HDF5 libraries are compiled with:

export CFLAGS=-fPIC
./configure --enable-threadsafe=yes --enable-unsupported

former is neeed to ensure that XDS in parallel mode will work, latter to ensure that the chunk read (which for opaque reasons is defined to be high level) works. Then make sure that wherever this was installed, the h5cc is in PATH before:

cd durin
make

Plugin file is build/durin-plugin.so - this should be added to the XDS.INP file i.e. as:

DETECTOR=PILATUS MINIMUM_VALID_PIXEL_VALUE=0 OVERLOAD=4096
LIB=/opt/durin/build/durin-plugin.so
SENSOR_THICKNESS= 0.450
!SENSOR_MATERIAL / THICKNESS Si 0.450
!SILICON= 3.953379
DIRECTION_OF_DETECTOR_X-AXIS= 1.00000 0.00000 0.00000
DIRECTION_OF_DETECTOR_Y-AXIS= 0.00000 1.00000 0.00000
NX=2070 NY=2164 QX=0.0750 QY=0.0750
DETECTOR_DISTANCE= 194.633000
ORGX= 1041.30 ORGY= 1160.90
ROTATION_AXIS= 0.00000 -1.00000 -0.00000
STARTING_ANGLE= -30.000
OSCILLATION_RANGE= 0.100
X-RAY_WAVELENGTH= 0.97891
INCIDENT_BEAM_DIRECTION= -0.000 -0.000 1.022
FRACTION_OF_POLARIZATION= 0.999
POLARIZATION_PLANE_NORMAL= 0.000 1.000 0.000
NAME_TEMPLATE_OF_DATA_FRAMES= ../image_9264_??????.h5
TRUSTED_REGION= 0.0 1.41
DATA_RANGE= 1 600
JOB=XYCORR INIT COLSPOT IDXREF DEFPIX INTEGRATE CORRECT

N.B. the master file is needed, not the .nxs one which follows the standard.

S
Description
No description provided
Readme BSD-3-Clause 257 KiB
1.0.0 Latest
2026-04-08 16:03:30 +02:00
Languages
C 89.7%
Fortran 7.8%
Python 1.6%
CMake 0.5%
Dockerfile 0.4%