2,652
edits
(Created page with "merge2cbf serves to convert frames from a number of detector formats (described at [http://www.mpimf-heidelberg.mpg.de/~kabsch/xds/html_doc/detectors.html]) into the CBF compress...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
merge2cbf serves to convert frames from a number of detector formats (described at [http:// | merge2cbf serves to convert frames from a number of detector formats (described at [http://xds.mpimf-heidelberg.mpg.de/html_doc/detectors.html]) into the miniCBF compressed file format, and replaces [[2pck]] which understood a few more formats. | ||
The program can add a fixed number (default: 1) of adjacent input frames for each output frame. | |||
Unfortunately the output miniCBF files do not have a header with wavelength, origin, distance, ... so they are only useful for reading them with XDS. | |||
This is a sample MERGE2CBF.INP: | This is a sample MERGE2CBF.INP: | ||
Line 18: | Line 22: | ||
!NUMBER_OF_DATA_FRAMES_COVERED_BY_EACH_OUTPUT_FRAME=1 | !NUMBER_OF_DATA_FRAMES_COVERED_BY_EACH_OUTPUT_FRAME=1 | ||
</pre> | </pre> | ||
and this is an example for how to extract all frames from a HDF5 file, and write CBF files: | |||
LIB=/usr/local/lib64/dectris-neggia.so | |||
NAME_TEMPLATE_OF_DATA_FRAMES= ../a2a003_0344.xds_flip.JF07T32V01.??????.h5 | |||
DATA_RANGE= 1 1512 | |||
NAME_TEMPLATE_OF_OUTPUT_FRAMES=a2a003_0344.xds_flip.JF07T32V01.??????.cbf | |||
NUMBER_OF_DATA_FRAMES_COVERED_BY_EACH_OUTPUT_FRAME= 1 | |||
This particular HDF5 file was not readable by H5ToXds (see [[Eiger]]) nor by eiger2cbf (see [[Eiger]]), but the Dectris Neggia library could read it. |