Changes

From XDSwiki
Jump to navigationJump to search
58 bytes added ,  18:54, 23 October 2019
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,461

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu