From XDSwiki
Jump to: navigation, search

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
 !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.
 !This optional parameter value allows you to add a fixed number of
 !adjacent input frames for each output frame. (default=1)