! #############################################################################
!  Copyright (c) 2000  Bruker Advance X-ray Solutions, Inc. (Bruker AXS, Inc.)
!                      5465 E Cheryl Parkway
!                      Madison, WI 53711-5373  USA
! #############################################################################
!
! CALIBTST -- Command file for testing FRAMBO/SADIE CALIBRATE command.
!       Following files must be accessible, in the test
!       directory (SAXS$TEST:).
!
!		conictst.slm -- this file
!		agbeh.cul -- Silver Behenite test frame
!
! Display a frame.
load SAXS$TEST:agbeh.cul /logscale /disp=150
!
! Turn off logging
logfile/new/append saxi$tst.log
logfile/off
!
! Calibrate: vary detector distance
calibrate /distance=67.0 ag-behen.std /delay=0.1
calibrate /distance=66.5 ag-behen.std /delay=0.1
calibrate /distance=66.0 ag-behen.std /delay=0.1
calibrate /distance=65.5 ag-behen.std /delay=0.1
calibrate /distance=65.0 ag-behen.std /delay=0.1
!
! Calibrate: vary detector angle
calibrate ag-behen.std /angle=-2.0 /delay=0.1
calibrate ag-behen.std /angle=-1.5 /delay=0.1
calibrate ag-behen.std /angle=-1.0 /delay=0.1
calibrate ag-behen.std /angle=-0.5 /delay=0.1
logfile/on
calibrate ag-behen.std /angle=-0.0 /delay=0.1
logfile/off
!
! Calibrate: vary detector center
calibrate ag-behen.std /X=251 /delay=0.1
calibrate ag-behen.std /X=249 /delay=0.1
calibrate ag-behen.std /X=247 /delay=0.1
calibrate ag-behen.std /X=245 /delay=0.1
calibrate ag-behen.std /X=243 /delay=0.1
!
calibrate ag-behen.std /Y=260 /delay=0.1
calibrate ag-behen.std /Y=259 /delay=0.1
calibrate ag-behen.std /Y=258 /delay=0.1
calibrate ag-behen.std /Y=257 /delay=0.1
calibrate ag-behen.std /Y=256 /delay=0.1 /noerase
