Changes

503 bytes added ,  14:44, 14 May 2014
rev 0.44
Line 59: Line 59:  
# revision 0.42 . Keitaro 5/2014 automatically set ROTATION_AXIS=-1 0 0 for Q315 at SPring-8 BL38B1.
 
# revision 0.42 . Keitaro 5/2014 automatically set ROTATION_AXIS=-1 0 0 for Q315 at SPring-8 BL38B1.
 
# revision 0.43 . Keitaro 5/2014 add experimental support of dTREK format (raxis_smv)
 
# revision 0.43 . Keitaro 5/2014 add experimental support of dTREK format (raxis_smv)
REVISION="0.43 (01-May-2014)"
+
# revision 0.44 . Keitaro 5/2014 automatically set ROTATION_AXIS=-1 0 0 for PILATUS3 at SPring-8 BL41XU.
 +
REVISION="0.44 (14-May-2014)"
 
#                                                                                                             
 
#                                                                                                             
 
# usage: e.g. generate_XDS.INP "frms/mydata_1_???.img"                                                       
 
# usage: e.g. generate_XDS.INP "frms/mydata_1_???.img"                                                       
Line 302: Line 303:     
       OSCILLATION_RANGE=`awk '/Angle/{print $2}' tmp2`
 
       OSCILLATION_RANGE=`awk '/Angle/{print $2}' tmp2`
 +
 +
      # get detector serial number and check if it is included in the list
 +
      # Known detectors for reversed-phi in SPring-8: BL41XU PILATUS3 6M 60-0125
 +
      DET_SN=`grep "Detector:" tmp2 | sed "s/^.*Detector: \?//"`
 +
      REVERSEPHI_SNs="
 +
PILATUS3 6M, S/N 60-0125
 +
"
 +
      if echo "${DET_SN}${REVERSEPHI_SNs}" | sort | uniq -d | grep [0-9] > /dev/null; then
 +
        REVERSE_PHI="yes"
 +
      fi
    
elif [ "$DET" == "raxis" ]; then
 
elif [ "$DET" == "raxis" ]; then
33

edits