Previous: makefries: make an undistortion calibration file
Next: caldark: Calibrate for shutter closed effects
makedetalign [options] <imagefilenames>or (in an empty directory):
makedetalign [options] makeDifferent image file types are recognized from their names. The images specified should be a recent series of images for the ammonium bitartrate test crystal representing a 360 degree phi scan (either 180x2 degrees or 360x1 degrees will do fine; 90x4 degrees for Cu radiation is fine too).
If run with the "make" argument, the program will start by collecting the frames it needs for the calibration. By default on a MoKa KappaCCD it will collect 180 single images of 2 degrees wide, at dx=30 mm, each for 10 seconds. For CuKa the measurement will consist of 90 images of 4 degrees each measured for 3 seconds. These values can be changed by the options "frametime=##", "frameangle=##" and "dx=##".
The analysis will start by reading all files, locating diffraction spots. After that, partial diffraction spots in adjacent frames will be joined. Finally a series of quartets (left and right impacts of each reflection and its Friedel opposite) will be collected. Based on the positions of each individual reflection in the quartets, the calibration is performed and written to the file "detalign.vic" in the current directory. To be used by other programs, this file can be copied to the CCD_DATAHOME directory on your system.
If you suspect that is what happens, do the following:
DETZEROX 0.0
DETZEROY 0.0
DETZEROZ 0.0
DETROTX 0.0
DETROTY 0.0
DETROTZ 0.0
% makedetalign NOTE: Using local file 'detalign.vic' for detector alignment NOTE: Pixel variance: 486 listed s01f001.kcd; 23 peaks found, 46 trials, 3.07 seconds s01f002.kcd; 41 peaks found, 63 trials, 3.31 seconds [...cut...] 5230 raw peaks located NOTE: Joining partials around frame 10 NOTE: Joining partials around frame 20 [...cut...] NOTE: Joining partials around frame 170 NOTE: Joining partials around frame 180 Joined spots together to 2757 reasonably strong reflections NOTE: Using local file 'detalign.vic' for detector alignment =============== REFINE CYCLE 1 ====================== NOTE: Quad number 100 found at phi=-162.0 NOTE: Quad number 200 found at phi=-140.0 NOTE: Quad number 300 found at phi=-107.1 NOTE: Quad number 400 found at phi=-80.0 NOTE: Quad number 500 found at phi=-42.0 561 Quadruplets located NOTE: Preliminary refinement Average= 0.000+/- 0.001, 0.000+/- 0.001 detzeroy,z now= 0.807738623226 0.871068500284 NOTE: Refinement Average= 0.000+/- 0.001, 0.000+/- 0.001 detzeroy,z now= 0.807738708435 0.871068509455 Calibration data are stored in 'detalign.vic' in the current directory. =============== REFINE CYCLE 2 ====================== NOTE: Quad number 100 found at phi=-162.0 NOTE: Quad number 200 found at phi=-140.0 NOTE: Quad number 300 found at phi=-107.1 NOTE: Quad number 400 found at phi=-80.0 NOTE: Quad number 500 found at phi=-42.0 561 Quadruplets located NOTE: Preliminary refinement Average= 0.000+/- 0.001, 0.000+/- 0.001 detzeroy,z now= 0.807738673192 0.871068458031 NOTE: Refinement Average= 0.000+/- 0.001, 0.000+/- 0.001 detzeroy,z now= 0.807738698476 0.871068467108 Calibration data are stored in 'detalign.vic' in the current directory. NOTE: Successful run. Program is happy with the results
Previous: makefries: make an undistortion calibration file
Next: caldark: Calibrate for shutter closed effects