Generate XDS.INP: Difference between revisions

no edit summary
(version 0.35 - document use of INCLUDE/EXCLUDE_RESOLUTION_RANGE by IDXREF; lower DEFPIX cutoff from 7000 to 6000)
No edit summary
Line 51: Line 51:
# revision 0.34 . Keitaro 5/2013 - recognize ADSC detectors in Photon Factory and choose correct beam center convention based on detector serial numbers.
# revision 0.34 . Keitaro 5/2013 - recognize ADSC detectors in Photon Factory and choose correct beam center convention based on detector serial numbers.
# revision 0.35 . KD 6/2013 - reduce 7000 to 6000 for shadow detection; insert comment about *_RESOLUTION_RANGE lines
# revision 0.35 . KD 6/2013 - reduce 7000 to 6000 for shadow detection; insert comment about *_RESOLUTION_RANGE lines
REVISION="0.35 (11-June-2013)"
# revision 0.36 . KD 6/2013 - insert NUMBER_OF_PROFILE_GRID* lines for Pilatus (suggested by C.Vonrhein)
REVISION="0.36 (12-June-2013)"
#                                                                                                             
#                                                                                                             
# usage: e.g. generate_XDS.INP "frms/mydata_1_???.img"                                                       
# usage: e.g. generate_XDS.INP "frms/mydata_1_???.img"                                                       
Line 362: Line 363:
! as about 32* what CORRECT.LP suggests (absorption of phosphor is much higher than that of silicon)
! as about 32* what CORRECT.LP suggests (absorption of phosphor is much higher than that of silicon)
NX= $NX NY= $NY  QX= $QX  QY= $QY ! to make CORRECT happy if frames are unavailable
NX= $NX NY= $NY  QX= $QX  QY= $QY ! to make CORRECT happy if frames are unavailable
eof
eof
if [ "$DET" == "raxis" ]; then
if [ "$DET" == "raxis" ]; then
Line 400: Line 402:
eof
eof
if [ "$DET" == "pilatus" ]; then
if [ "$DET" == "pilatus" ]; then
cat >> XDS.INP << eof
NUMBER_OF_PROFILE_GRID_POINTS_ALONG_ALPHA/BETA=13 ! Default is 9 - Increasing may improve data
NUMBER_OF_PROFILE_GRID_POINTS_ALONG_GAMMA=13      ! accuracy, particularly if finely-sliced on phi,
!                                                  and does not seem to have any downsides.
eof
   if [ $NX == "1475" ]; then
   if [ $NX == "1475" ]; then
     if ! grep -q Flat_field tmp2 ; then
     if ! grep -q Flat_field tmp2 ; then
2,652

edits