Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
m
Line 417: Line 417:
   mv tmp1 tmp2                                                               
   mv tmp1 tmp2                                                               
   OVERLOAD=1048574
   OVERLOAD=1048574
   grep Count_cutoff tmp2 && OVERLOAD=`awk '{print $3}' tmp2`
   grep -q Count_cutoff tmp2 && OVERLOAD=`awk '{print $3}' tmp2`
   DETECTOR="PILATUS MINIMUM_VALID_PIXEL_VALUE=0 OVERLOAD= $OVERLOAD  !PILATUS"
   DETECTOR="PILATUS MINIMUM_VALID_PIXEL_VALUE=0 OVERLOAD= $OVERLOAD  !PILATUS"
   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
   grep Pixel_size tmp2 && QX=`awk '/Pixel_size/{print 1000*$2}' tmp2`
   grep -q Pixel_size tmp2 && QX=`awk '/Pixel_size/{print 1000*$2}' tmp2`
   grep -q Pixel_size tmp2 && QY=`awk '/Pixel_size/{print 1000*$5}' tmp2`                                                     
   grep -q Pixel_size tmp2 && QY=`awk '/Pixel_size/{print 1000*$5}' tmp2`                                                     


2,684

edits

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

Navigation menu