Sample of Header Suggested by H. Powell


###CBF: VERSION 1.3.2
# CBF file written by CBFlib v0.7.6

data_image_1

_diffrn.id DS1
_diffrn.crystal_id DIFFRN_CRYSTAL_ID

_diffrn_source.diffrn_id DS1
_diffrn_source.source synchrotron
_diffrn_source.current 100.0
_diffrn_source.type 'SSRL beamline 11-1'

_diffrn_radiation.diffrn_id DS1
_diffrn_radiation.wavelength_id WAVELENGTH1
_diffrn_radiation.probe x-ray
_diffrn_radiation.monochromator 'Si 111'
_diffrn_radiation.polarizn_source_ratio 0.8
_diffrn_radiation.polarizn_source_norm 0.0
_diffrn_radiation.div_x_source 0.08
_diffrn_radiation.div_y_source 0.01
_diffrn_radiation.div_x_y_source 0.00
_diffrn_radiation.collimation '0.20 mm x 0.20 mm'

_diffrn_radiation_wavelength.id WAVELENGTH1
_diffrn_radiation_wavelength.wavelength 0.979399979114532
_diffrn_radiation_wavelength.wt 1.0

_diffrn_detector.diffrn_id DS1
_diffrn_detector.id ADSCQ315-SN902
_diffrn_detector.type 'ADSC QUANTUM315'
_diffrn_detector.details 'fast mode hardware binned'
_diffrn_detector.number_of_axes 4

loop_
_diffrn_detector_axis.detector_id
_diffrn_detector_axis.axis_id
 ADSCQ315-SN902 DETECTOR_X
 ADSCQ315-SN902 DETECTOR_Y
 ADSCQ315-SN902 DETECTOR_Z
 ADSCQ315-SN902 DETECTOR_PITCH

_diffrn_detector_element.id ELEMENT1
_diffrn_detector_element.detector_id ADSCQ315-SN902

_diffrn_data_frame.id FRAME1
_diffrn_data_frame.detector_element_id ELEMENT1
_diffrn_data_frame.array_id ARRAY1
_diffrn_data_frame.binary_id 1
_diffrn_data_frame.details
;
HEADER_BYTES=  512;
DIM=2;
BYTE_ORDER=little_endian;
TYPE=unsigned_short;
PIXEL_SIZE=0.102592;
BIN=2x2;
ADC=fast;
DETECTOR_SN=902;
DATE=Thu Jan 11 12:19:57 2007;
TIME=1.50;
DISTANCE=200.000;
OSC_RANGE=0.500;
PHI=203.000;
OSC_START=203.000;
TWOTHETA=0.000;
AXIS=phi;
WAVELENGTH=0.97940;
BEAM_CENTER_X=157.500;
BEAM_CENTER_Y=157.500;
CREV=1;
CCD=TH7899;
BIN_TYPE=HW;
TIME=1.500000;
ACC_TIME=3375;
UNIF_PED=1500;
IMAGE_PEDESTAL=40;
SIZE1=3072;
SIZE2=3072;
;


_diffrn_measurement.diffrn_id DS1
_diffrn_measurement.id GONIOMETER
_diffrn_measurement.number_of_axes 3
_diffrn_measurement.method rotation
_diffrn_measurement.details
 'i0=1.000 i1=1.000 i2=1.000 ib=1.000 beamstop=20 mm 0% attenuation'

loop_
_diffrn_measurement_axis.measurement_id
_diffrn_measurement_axis.axis_id
 GONIOMETER GONIOMETER_PHI
 GONIOMETER GONIOMETER_KAPPA
 GONIOMETER GONIOMETER_OMEGA

_diffrn_scan.id SCAN1
_diffrn_scan.frame_id_start FRAME1
_diffrn_scan.frame_id_end FRAME1
_diffrn_scan.frames 1

loop_
_diffrn_scan_axis.scan_id
_diffrn_scan_axis.axis_id
_diffrn_scan_axis.angle_start
_diffrn_scan_axis.angle_range
_diffrn_scan_axis.angle_increment
_diffrn_scan_axis.displacement_start
_diffrn_scan_axis.displacement_range
_diffrn_scan_axis.displacement_increment
 SCAN1 GONIOMETER_OMEGA 0.0 0.0 0.0 0.0 0.0 0.0
 SCAN1 GONIOMETER_KAPPA 0.0 0.0 0.0 0.0 0.0 0.0
 SCAN1 GONIOMETER_PHI 203 0.5 0.5 0.0 0.0 0.0
 SCAN1 DETECTOR_Z 0.0 0.0 0.0 200 0 0
 SCAN1 DETECTOR_Y 0.0 0.0 0.0 0.0 0.0 0.0
 SCAN1 DETECTOR_X 0.0 0.0 0.0 0.0 0.0 0.0
 SCAN1 DETECTOR_PITCH 0.0 0.0 0.0 0.0 0.0 0.0

_diffrn_scan_frame.frame_id FRAME1
_diffrn_scan_frame.frame_number 1
_diffrn_scan_frame.integration_time 1.5
_diffrn_scan_frame.scan_id SCAN1
_diffrn_scan_frame.date 1997-12-04T10:23:48

loop_
_diffrn_scan_frame_axis.frame_id
_diffrn_scan_frame_axis.axis_id
_diffrn_scan_frame_axis.angle
_diffrn_scan_frame_axis.displacement
 FRAME1 GONIOMETER_OMEGA 0.0 0.0
 FRAME1 GONIOMETER_KAPPA 0.0 0.0
 FRAME1 GONIOMETER_PHI 203 0.0
 FRAME1 DETECTOR_Z 0.0 200
 FRAME1 DETECTOR_Y 0.0 0.0
 FRAME1 DETECTOR_X 0.0 0.0
 FRAME1 DETECTOR_PITCH 0.0 0.0

loop_
_axis.id
_axis.type
_axis.equipment
_axis.depends_on
_axis.vector[1]
_axis.vector[2]
_axis.vector[3]
_axis.offset[1]
_axis.offset[2]
_axis.offset[3]
 GONIOMETER_OMEGA rotation goniometer . 1 0 0 . . .
 GONIOMETER_KAPPA rotation goniometer GONIOMETER_OMEGA 0.64279 0 0.76604 . . .
 GONIOMETER_PHI rotation goniometer GONIOMETER_KAPPA 1 0 0 . . .
 SOURCE general source . 0 0 1 . . .
 GRAVITY general gravity . 0 -1 0 . . .
 DETECTOR_Z translation detector . 0 0 -1 0 0 0
 DETECTOR_Y translation detector DETECTOR_Z 0 1 0 0 0 0
 DETECTOR_X translation detector DETECTOR_Y 1 0 0 0 0 0
 DETECTOR_PITCH rotation detector DETECTOR_X 0 1 0 0 0 0
 ELEMENT_X translation detector DETECTOR_PITCH 1 0 0 -152.500 152.500 0
 ELEMENT_Y translation detector ELEMENT_X 0 1 0 0 0 0

loop_
_array_structure_list.array_id
_array_structure_list.index
_array_structure_list.dimension
_array_structure_list.precedence
_array_structure_list.direction
_array_structure_list.axis_set_id
 ARRAY1 1 3072 1 increasing ELEMENT_X
 ARRAY1 2 3072 2 increasing ELEMENT_Y

loop_
_array_structure_list_axis.axis_set_id
_array_structure_list_axis.axis_id
_array_structure_list_axis.displacement
_array_structure_list_axis.displacement_increment
 ELEMENT_X ELEMENT_X -4.993861 0.102588
 ELEMENT_Y ELEMENT_Y 4.993861 -0.102588

_array_intensities.array_id ARRAY1
_array_intensities.binary_id 1
_array_intensities.linearity linear
_array_intensities.gain 1.80
_array_intensities.gain_esd 0.03
_array_intensities.overload 65565
_array_intensities.undefined_value 0
_array_intensities.pixel_slow_bin_size 2
_array_intensities.pixel_fast_bin_size 2

_array_structure.id ARRAY1
_array_structure.encoding_type "signed 32-bit integer"
_array_structure.compression_type packed
_array_structure.byte_order little_endian

_array_data.array_id ARRAY1
_array_data.binary_id 1
_array_data.data
;
--CIF-BINARY-FORMAT-SECTION--
Content-Type: application/octet-stream;
     conversions="x-CBF_PACKED"
Content-Transfer-Encoding: BINARY
X-Binary-Size: 5905255
X-Binary-ID: 1
X-Binary-Element-Type: "signed 32-bit integer"
Content-MD5: JBiHpL0ohMo1upwt6IgddA==

...