How to convert KappaCCD images for use with APEX2 and SAINT
Introduction
The Bruker software that is developed further as the main track
since 2001 is APEX2, and the associated integration program SAINT.
The philosophy of those programs is a bit different from collect with
either HKL or EvalCCD, and therefore a conversion step is needed to
export KappaCCD data to this software.
What the conversion does is:
- Corrects the images for effects like dark current and sensitivity
- Sets the ADC-zero level to 32
- Undistorts the images
- Makes the image format square, with 512 pixel on each side
- Renames all the files to a format that SAINT will understand
Steps
Create a file with information to undistort the images
First make sure that the system calibration is in order:
- You will need a distorpol.vic file. If distorpol.vic did not come
with your system, please see makedistor.
- The procedure can optionally use a detalign.vic file. If you do not have that,
check makedetalign.
Run the following command:
% makefries apex
This can be performed in the calibration directory; it needs to be
done every time the detector calibration files distorpol.vic or
detalign.vic are changed.
Alternatively, you can do this in your project directory for each
project that you want to convert for use in APEX2 and SAINT.
Convert your data set
Follow the following script:
% mkdir sfrm
% imagesum each newext=sfrm writeprefix=sfrm/ correctall *.kcd
The "correctall" option to imagesum is used to apply all corrections
necessary to a diffraction image.
Please note the trailing "/" on the writeprefix, this is needed to
make sure that all created files will be positioned in the new sfrm
subdirectory.
To finish, you should probably rename all files so that SAINT understands
the frame numbers. This can be done using the saintrename script:
% cd sfrm
% saintrename