2,684
edits
(→The script: small fixes) |
(→The script: more fixes) |
||
Line 316: | Line 316: | ||
echo "Data from a Mar345 image plate detector" | echo "Data from a Mar345 image plate detector" | ||
DETECTOR="MAR345 MINIMUM_VALID_PIXEL_VALUE=0 OVERLOAD=130000" | DETECTOR="MAR345 MINIMUM_VALID_PIXEL_VALUE=0 OVERLOAD=130000" | ||
NX=` | NX=`awk '/FORMAT/{print $2}' tmp2` | ||
NY=$NX | NY=$NX | ||
QX=`awk /PIXEL/ | QX=`awk '/PIXEL/{print $3/1000.}' tmp2` | ||
QY=`awk /PIXEL/ | QY=`awk '/PIXEL/{print $5/1000.}' tmp2` | ||
if grep -q 'CENTER' tmp2; then | if grep -q 'CENTER' tmp2; then | ||
echo Beam center found. | echo Beam center found. |