2,684
edits
m (→The script: comment for negative detector normal) |
(→The script: version 0.77 obtain QX QY from miniCBF header) |
||
Line 93: | Line 93: | ||
# revision 0.75 . KD 30/08/2017 reversed ORGX and ORGY for marCCD @ BM14 (Indian beamline @ ESRF) | # revision 0.75 . KD 30/08/2017 reversed ORGX and ORGY for marCCD @ BM14 (Indian beamline @ ESRF) | ||
# revision 0.76 . KD 4/09/2017 include POSITION into REFINE(IDXREF) because latest XDS is more robust. Add comments to keywords. | # revision 0.76 . KD 4/09/2017 include POSITION into REFINE(IDXREF) because latest XDS is more robust. Add comments to keywords. | ||
REVISION="0. | # revision 0.77 . KD 19/12/2017 obtain QX QY from CBF header. | ||
REVISION="0.77 (19-Dec-2017)" | |||
# | # | ||
Line 412: | Line 413: | ||
elif [ "$DET" == "pilatus" ]; then | elif [ "$DET" == "pilatus" ]; then | ||
DETECTOR="PILATUS MINIMUM_VALID_PIXEL_VALUE=0 OVERLOAD= 1048576 !PILATUS" | DETECTOR="PILATUS MINIMUM_VALID_PIXEL_VALUE=0 OVERLOAD= 1048576 !PILATUS" | ||
echo Data from a Pilatus detector | echo Data from a Pilatus detector | ||
sed s/#// tmp2 > tmp1 | sed s/#// tmp2 > tmp1 | ||
mv tmp1 tmp2 | mv tmp1 tmp2 | ||
QX=0.172 QY=0.172 | |||
# 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 && QY=`awk '/Pixel_size/{print 1000*$5}' tmp2` | |||
# find SENSOR_THICKNESS: | # find SENSOR_THICKNESS: |