Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
(→‎The script: fixes for SSRF; add "-maxdepth 0" to "find -H ...")
Line 526: Line 526:
   # If rotation vector set (NeXus)
   # If rotation vector set (NeXus)
   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
  SN=`h5dump -d "/entry/instrument/detector/detector_number" $FIRSTFRAME | awk '/\(0\): [0-9]/{print $2}'`
  if [ "$SN" == "E-32-0111" ]; then
    rotation_axis="-1 0 0"
  fi
   SEPMIN=4
   SEPMIN=4
   CLUSTER_RADIUS=2
   CLUSTER_RADIUS=2
2,684

edits

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

Navigation menu