cif2cbf
Ellis, P. J. and
Bernstein, H. J.,
International Tables for Crystallography
(2006).
Vol. G,
Section 5.6.5.3,
p.
[ doi:10.1107/97809553602060000756 ]
C library for manipulating image data
The test program cif2cbf (Fig.
5.6.5.3) uses the same command-line options as img2cif, but accepts either a CIF or a CBF as input instead of an image file. The heart ...
Example programs
Ellis, P. J. and
Bernstein, H. J.,
International Tables for Crystallography
(2006).
Vol. G,
Section 5.6.5,
p.
[ doi:10.1107/97809553602060000756 ]
to the detector, and the oscillation start and range.
Figure
5.6.5.1
| top | pdf |
An extract of program code for the conversion of image data to CBF format.
5.6.5.2. makecbf
| top | pdf ...
makecbf
Ellis, P. J. and
Bernstein, H. J.,
International Tables for Crystallography
(2006).
Vol. G,
Section 5.6.5.2,
p.
[ doi:10.1107/97809553602060000756 ]
accompanying this volume. To run makecbf with the example image, type:
The typical code fragment from makecbf.c shown in Fig.
5.6.5.2 creates the DIFFRN_FRAME_DATA category.
Figure
5.6.5.2
| top | pdf ...
convert_image
Ellis, P. J. and
Bernstein, H. J.,
International Tables for Crystallography
(2006).
Vol. G,
Section 5.6.5.1,
p.
[ doi:10.1107/97809553602060000756 ]
to extract data and metadata from the image and uses the higher-level CBFlib routines to populate the template. Fig.
5.6.5.1 is a portion of the code that reads in the template and inserts the wavelength, the distance to the detector ...