33
edits
(→The script: 0.41) |
(ver. 0.42) |
||
Line 57: | Line 57: | ||
# revision 0.40 . Jan Gebauer /KD 4/2014 - simple implementation of MAR345 detector | # revision 0.40 . Jan Gebauer /KD 4/2014 - simple implementation of MAR345 detector | ||
# revision 0.41 . recognize header starting with R-AXIS instead of RAXIS | # revision 0.41 . recognize header starting with R-AXIS instead of RAXIS | ||
REVISION="0. | # revision 0.42 . Keitaro 5/2014 automatically set ROTATION_AXIS=-1 0 0 for Q315 at SPring-8 BL38B1. | ||
REVISION="0.42 (01-May-2014)" | |||
# | # | ||
# usage: e.g. generate_XDS.INP "frms/mydata_1_???.img" | # usage: e.g. generate_XDS.INP "frms/mydata_1_???.img" | ||
Line 241: | Line 242: | ||
echo - at e.g. ALS 8.2.2 use: ORGX=$ORGX3 ORGY=$ORGY3 - this is written to XDS.INP | echo - at e.g. ALS 8.2.2 use: ORGX=$ORGX3 ORGY=$ORGY3 - this is written to XDS.INP | ||
COMMENT_ORGXY="${COMMENT_ORGXY} | COMMENT_ORGXY="${COMMENT_ORGXY} | ||
! ORGX= $ORGX3 ORGY= $ORGY3 ! For ALS 8.2.2,.." | ! ORGX= $ORGX3 ORGY= $ORGY3 ! For ALS 8.2.2, SPring-8,.." | ||
# the latter alternative is written into the generated XDS.INP ! You have to correct this manually in XDS.INP, or adjust this script. | # the latter alternative is written into the generated XDS.INP ! You have to correct this manually in XDS.INP, or adjust this script. | ||
Line 259: | Line 260: | ||
ORGX=$ORGX3 | ORGX=$ORGX3 | ||
ORGY=$ORGY3 | ORGY=$ORGY3 | ||
fi | |||
# Check detector serial number and recognize beamline for reversed-phi setting. | |||
# Known detectors for reversed-phi in SPring-8: 915: BL38B1 Q315 | |||
REVERSEPHI_SNs=" | |||
915 | |||
" | |||
if echo "${DET_SN}${REVERSEPHI_SNs}" | sort | uniq -d | grep [0-9] > /dev/null; then | |||
REVERSE_PHI="yes" | |||
fi | fi | ||
Line 348: | Line 358: | ||
! written by generate_XDS.INP version $REVISION | ! written by generate_XDS.INP version $REVISION | ||
JOB= XYCORR INIT COLSPOT IDXREF DEFPIX INTEGRATE CORRECT | JOB= XYCORR INIT COLSPOT IDXREF DEFPIX INTEGRATE CORRECT | ||
ORGX= $ORGX ORGY= $ORGY ! check these values with adxv ! | ORGX= $ORGX ORGY= $ORGY ! check these values with adxv !\ | ||
$COMMENT_ORGXY | |||
DETECTOR_DISTANCE= $DETECTOR_DISTANCE | DETECTOR_DISTANCE= $DETECTOR_DISTANCE | ||
OSCILLATION_RANGE= $OSCILLATION_RANGE | OSCILLATION_RANGE= $OSCILLATION_RANGE |
edits