Generate XDS.INP: Difference between revisions

Line 536: Line 536:
   rotation_axis=`h5dump -a "/entry/sample/transformations/omega/vector" $FIRSTFRAME 2>/dev/null | grep "(0):" | sed -e "s/^.*://; s/,//g"`
   rotation_axis=`h5dump -a "/entry/sample/transformations/omega/vector" $FIRSTFRAME 2>/dev/null | grep "(0):" | sed -e "s/^.*://; s/,//g"`
   # Eiger 16M SSRF BL17U1  
   # Eiger 16M SSRF BL17U1  
   SN=`h5dump -d "/entry/instrument/detector/detector_number" $FIRSTFRAME | awk '/\(0\): [0-9]/{print $2}'`
   SN=`h5dump -d "/entry/instrument/detector/detector_number" $FIRSTFRAME | awk '/\(0\): /{print $2}' | sed s/\"//g`
   if [ "$SN" == "E-32-0111" ]; then
   if [ "$SN" == "E-32-0111" ]; then
     rotation_axis="-1 0 0"
     rotation_axis="-1 0 0"
    echo SSRF BL17U1 with inverted rotation axis
   fi
   fi


2,684

edits