Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
→‎The script: v 0.79 get Pilatus OVERLOAD from CBF header
(→‎The script: fix upper spot range calculation if nframe=1 and .h5)
(→‎The script: v 0.79 get Pilatus OVERLOAD from CBF header)
Line 95: Line 95:
# revision 0.77 . KD 19/12/2017 obtain QX QY from CBF header.
# revision 0.77 . KD 19/12/2017 obtain QX QY from CBF header.
# revision 0.78 . KD 21/12/2017 if possible and sensible, provide LIB= line with hardcoded /usr/local/lib64/dectris-neggia.so .
# revision 0.78 . KD 21/12/2017 if possible and sensible, provide LIB= line with hardcoded /usr/local/lib64/dectris-neggia.so .
REVISION="0.78 (21-Dec-2017)"
# revision 0.79 . KD 16/01/2018 read OVERLOAD from CBF header instead of fixing at 1048576
REVISION="0.79 (16-Jan-2018)"


#                                                                                                             
#                                                                                                             
Line 412: Line 413:


elif [ "$DET" == "pilatus" ]; then
elif [ "$DET" == "pilatus" ]; then
  DETECTOR="PILATUS MINIMUM_VALID_PIXEL_VALUE=0 OVERLOAD= 1048576  !PILATUS"
  echo Data from a Pilatus detector                                       
   sed s/#// tmp2 > tmp1                                                     
   sed s/#// tmp2 > tmp1                                                     
   mv tmp1 tmp2                                                               
   mv tmp1 tmp2                                                               
  OVERLOAD=1048574
  grep Count_cutoff tmp2 && OVERLOAD=`awk '{print $3} tmp2'
  DETECTOR="PILATUS MINIMUM_VALID_PIXEL_VALUE=0 OVERLOAD= $OVERLOAD  !PILATUS"
  echo Data from a Pilatus detector                                       
   QX=0.172 QY=0.172                                                         
   QX=0.172 QY=0.172                                                         
# the default above guards against missing Pixel_size line in CBF header
# the default above guards against missing Pixel_size line in CBF header
2,684

edits

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

Navigation menu