Generate XDS.INP: Difference between revisions

→‎The script: 0.70alpha Diamond I24 (needs check by Graeme)
(→‎The script: 0.70alpha Diamond I24 (needs check by Graeme))
Line 85: Line 85:
# revision 0.68 . KD 24/10/2016 add -H option (follow symlinks) to "find" command (thanks to Jan Gebauer!)
# revision 0.68 . KD 24/10/2016 add -H option (follow symlinks) to "find" command (thanks to Jan Gebauer!)
# revision 0.69 . KD 04/11/2016 add CMOS-1 MBC Detector at ALS 4.2.2
# revision 0.69 . KD 04/11/2016 add CMOS-1 MBC Detector at ALS 4.2.2
REVISION="0.69 (04-Nov-2016)"
# revision 0.70alpha . KD 06/12/2016 ROTATION_AXIS=0 -1 0 at Diamond I24; depending on CBF header
REVISION="0.70alpha (06-Dec-2016)"


#                                                                                                             
#                                                                                                             
Line 430: Line 431:
         REVERSE_PHI="yes"
         REVERSE_PHI="yes"
       fi
       fi
 
     
# Diamond I24:
      if [ ${DET_SN} = "PILATUS3 6M, S/N 60-0119" ] && grep -q "Oscillation_axis X.CW +SLOW" tmp2 ; then
        rotation_axis="0 -1 0"
      fi
# insert similar code for Petra P14 here
elif [ "$DET" == "eiger" ]; then
elif [ "$DET" == "eiger" ]; then
   OVERLOAD=`h5dump -d "/entry/instrument/detector/detectorSpecific/countrate_correction_count_cutoff" $FIRSTFRAME | awk '/\(0\):/{print $2}' `
   OVERLOAD=`h5dump -d "/entry/instrument/detector/detectorSpecific/countrate_correction_count_cutoff" $FIRSTFRAME | awk '/\(0\):/{print $2}' `
2,684

edits