2,722
edits
(→The script: add the UNTRUSTED_RECTANGLE lines for the Pilatus 6M) |
(→The script: version 0.29) |
||
Line 44: | Line 44: | ||
# revision 0.27 . KD 11/2012 - EXCLUDE_RESOLUTION_RANGE lines and generic Pilatus Flat_field test | # revision 0.27 . KD 11/2012 - EXCLUDE_RESOLUTION_RANGE lines and generic Pilatus Flat_field test | ||
# revision 0.28 . Keitaro 11/2012 - for MarCCD: read oscillation range from the position 1024+736 (fix for omega rotation) | # revision 0.28 . Keitaro 11/2012 - for MarCCD: read oscillation range from the position 1024+736 (fix for omega rotation) | ||
REVISION="0. | # revision 0.29 . KD 1/2013 - include UNTRUSTED_RECTANGLEs for Pilatus 6M; never hurts but needed if the beamline software does not mark them with -2 or such | ||
REVISION="0.29 (15-Jan-2013)" | |||
# | # | ||
# usage: e.g. generate_XDS.INP "frms/mydata_1_???.img" | # usage: e.g. generate_XDS.INP "frms/mydata_1_???.img" | ||
Line 313: | Line 314: | ||
if ! grep -q Flat_field tmp2 ; then | if ! grep -q Flat_field tmp2 ; then | ||
cat >> XDS.INP << eof | cat >> XDS.INP << eof | ||
! the following specifications cut away one additional pixel adjacent | ! the following specifications are for a detector _without_ proper | ||
! to each UNTRUSTED_RECTANGLE | ! flat_field correction; they cut away one additional pixel adjacent | ||
! to each UNTRUSTED_RECTANGLE | |||
!EXCLUSION OF VERTICAL DEAD AREAS OF THE PILATUS 2M DETECTOR | !EXCLUSION OF VERTICAL DEAD AREAS OF THE PILATUS 2M DETECTOR | ||
UNTRUSTED_RECTANGLE= 486 496 0 1680 | UNTRUSTED_RECTANGLE= 486 496 0 1680 | ||
Line 327: | Line 328: | ||
UNTRUSTED_RECTANGLE= 0 1476 1254 1274 | UNTRUSTED_RECTANGLE= 0 1476 1254 1274 | ||
UNTRUSTED_RECTANGLE= 0 1476 1466 1486 | UNTRUSTED_RECTANGLE= 0 1476 1466 1486 | ||
eof | |||
else | |||
cat >> XDS.INP << eof | |||
!EXCLUSION OF VERTICAL DEAD AREAS OF THE PILATUS 2M DETECTOR | |||
UNTRUSTED_RECTANGLE= 487 495 0 1680 | |||
UNTRUSTED_RECTANGLE= 981 989 0 1680 | |||
!EXCLUSION OF HORIZONTAL DEAD AREAS OF THE PILATUS 2M DETECTOR | |||
UNTRUSTED_RECTANGLE= 0 1476 195 213 | |||
UNTRUSTED_RECTANGLE= 0 1476 407 425 | |||
UNTRUSTED_RECTANGLE= 0 1476 619 637 | |||
UNTRUSTED_RECTANGLE= 0 1476 831 849 | |||
UNTRUSTED_RECTANGLE= 0 1476 1043 1061 | |||
UNTRUSTED_RECTANGLE= 0 1476 1255 1273 | |||
UNTRUSTED_RECTANGLE= 0 1476 1467 1485 | |||
eof | eof | ||
fi | fi | ||
elif [ $NX == "2463" ]; then | elif [ $NX == "2463" ]; then | ||
! FIXME: here we could test if a Flat_field correction was applied | |||
cat >> XDS.INP << eof | cat >> XDS.INP << eof | ||
UNTRUSTED_RECTANGLE= 487 495 0 2528 | UNTRUSTED_RECTANGLE= 487 495 0 2528 |