Merge2cbf
merge2cbf serves to convert frames from a number of detector formats (described at [1]) into the CBF compressed file format, and replaces 2pck which understood a few more formats.
This is a sample MERGE2CBF.INP:
!Generic file name, access, and format of data frames to be converted NAME_TEMPLATE_OF_DATA_FRAMES=../lysocust/lyz0.??? !Numbers of first and last data frame to be converted DATA_RANGE= 1 500 !Number of detector pixels along X, Y !NX=2048 NY=2048 ! the program should find this out by itself in most cases !Generic file name of output data frames. NAME_TEMPLATE_OF_OUTPUT_FRAMES=../lysocust/lyz0_???.cbf !This optional parameter value allows you to add a fixed number of !adjacent input frames for each output frame. (default=1) !NUMBER_OF_DATA_FRAMES_COVERED_BY_EACH_OUTPUT_FRAME=1