File formats
File formats
Broadly speaking: either HDF5 or plain text for both image and supporting data.
images and results
The current format is described here:
2017-now: Current file format (images in .cxi file, results in .h5 file)
Legacy file formats:
2014-2017 format: Single .cxi file (images and results in one .cxi file)
2009-2014 format: Small single-frame HDF5 files (one file per image)
Additional data (powder patterns, mask files)
Saved in HDF5 format as listed below
Powder patterns
> h5ls -r r0040-detector0-class1-sum.h5
/ Group
/data Group
/data/correcteddata Soft Link {/data/non_assembled_detector_corrected}
/data/data Soft Link {/data/non_assembled_detector_corrected}
/data/nframes Dataset {1}
/data/non_assembled_detector_and_photon_corrected Dataset {1480, 1552}
/data/non_assembled_detector_and_photon_corrected_sigma Dataset {1480, 1552}
/data/non_assembled_detector_corrected Dataset {1480, 1552}
/data/non_assembled_detector_corrected_sigma Dataset {1480, 1552}
/data/peakpowder Dataset {1480, 1552}
/data/radial_average_detector_and_photon_corrected Dataset {1167}
/data/radial_average_detector_and_photon_corrected_sigma Dataset {1167}
/data/radial_average_detector_corrected Dataset {1167}
/data/radial_average_detector_corrected_sigma Dataset {1167}
geometry files
IMage files and results
> h5ls -r geometry.h5
/ Group
/x Dataset {1480, 1552}
/y Dataset {1480, 1552}
/z Dataset {1480, 1552}
Mask files
> h5ls -r badpixelmap.h5
/ Group
/data Group
/data/data Dataset {1480, 1552}
The current format is described here:
Current format: HDF5 file for results and metadata, CXI file for image data
Earlier file formats are also documented:
2014-2017 format: Single large .cxi files (many images per file)
2009-2014 format: Small single-frame HDF5 files (one file per image)