2,684
edits
(→The script: 0.41) |
|||
Line 56: | Line 56: | ||
# revision 0.39 . Keitaro 4/2014 - automatically set ROTATION_AXIS=-1 0 0 for MX225HS at SPring-8 BL32XU. | # revision 0.39 . Keitaro 4/2014 - automatically set ROTATION_AXIS=-1 0 0 for MX225HS at SPring-8 BL32XU. | ||
# revision 0.40 . Jan Gebauer /KD 4/2014 - simple implementation of MAR345 detector | # revision 0.40 . Jan Gebauer /KD 4/2014 - simple implementation of MAR345 detector | ||
REVISION="0. | # revision 0.41 . recognize header starting with R-AXIS instead of RAXIS | ||
REVISION="0.41 (22-April-2014)" | |||
# | # | ||
# usage: e.g. generate_XDS.INP "frms/mydata_1_???.img" | # usage: e.g. generate_XDS.INP "frms/mydata_1_???.img" | ||
Line 124: | Line 125: | ||
grep -q BEAM_CENTER_X tmp2 && DET=adsc | grep -q BEAM_CENTER_X tmp2 && DET=adsc | ||
head -n1 tmp2 | grep -q "^RAXIS" && DET=raxis | head -n1 tmp2 | grep -q "^RAXIS" && DET=raxis | ||
head -n1 tmp2 | grep -q "^R-AXIS" && DET=raxis | |||
grep -q mar345 tmp2 && DET=MAR345 | grep -q mar345 tmp2 && DET=MAR345 | ||