! #############################################################################
!  Copyright (c) 2000  Bruker Advance X-ray Solutions, Inc. (Bruker AXS, Inc.)
!                      5465 E Cheryl Parkway
!                      Madison, WI 53711-5373  USA
! #############################################################################
!
! INTGRTST -- Command file for testing FRAMBO/SADIE INTEGRATE command.
!       Following files must be accessible, in the test
!       directory (SAXS$TEST:).
!
!               intgrtst.slm -- this file
!               fiber-h.1 -- fiber test frame
!
! Display a frame.
display/new/quad=0/lo=0/hi=150/x=255/y=255/mag=1 SAXS$TEST:fiber-h.1
!
! Turn on logging
logfile/new/append saxi$tst.log
logfile/on
!
! Obtain 2T plots at varying chi wedges
integrate /chi 0.0 2.5 -135.0 -45.0 /STEPSIZE=0.05
integrate /chi 0.0 2.5  -90.0   0.0
integrate /chi 0.0 2.5  -45.0  45.0
integrate /chi 0.0 2.5    0.0  90.0
integrate /chi 0.0 2.5   45.0 135.0
integrate /chi 0.0 2.5  135.0 225.0
!
! Obtain chi plots at increasing 2T rings
integrate /2theta 0.0 0.5 -90.0 270.0
integrate /2theta 0.5 1.0 -90.0 270.0
integrate /2theta 1.0 1.5 -90.0 270.0
integrate /2theta 1.5 2.0 -90.0 270.0
integrate /2theta 2.0 2.5 -90.0 270.0
!
! Pixel integration - increasing width
integrate /pixel 301 464 400 10 0.0
!
! Slice integration - increasing width
!!integrate /slice -2.5 2.5 90.0 10.
!!integrate /slice -2.5 2.5 90.0 15.
!!integrate /slice -2.5 2.5 90.0 20.
!
! Slice integration - varying angle
!!integrate /slice -2.5 2.5 90.0 10.
!!integrate /slice -2.5 2.5 120.0 10.
!!integrate /slice -2.5 2.5 150.0 10.
!
integrate /write "Test" /file=test.dat /format=plotso /append
