ewoksscxrd.tasks.utils.write_lima_images#

ewoksscxrd.tasks.utils.write_lima_images(result, output_path, header)[source]#

Write the result (3D array: nframes x H x W) as a NeXus HDF5 file with the following structure:

/ (NXroot; file-level attrs)
entry_0000 (NXentry; attrs + title, start_time, end_time)
ESRF-ID15B (NXinstrument; default=”eiger”)
eiger (NXdetector; depends_on=”.”)
acquisition (NXcollection; exposure_time, latency_time,

mode, nb_frames, trigger_mode)

data (UINT32 dataset shaped nxHxW; interpretation=”image”) detector_information

(NXcollection; image_lima_type, model, name, type,

pixel_size, max_image_size)

header (NXcollection; acq_*, image_*) image_operation (NXcollection; binning, dimension, flipping,

region_of_interest, rotation)

plot (NXdata; signal=”data”)

measurement (NXcollection; data → /…/data)