Generate XDS.INP: Difference between revisions

→‎The script: revision 0.73 add reverse phi at MX2 LNLS
(→‎The script: version 0.72)
(→‎The script: revision 0.73 add reverse phi at MX2 LNLS)
Line 89: Line 89:
# revision 0.71 . KD 27/02/2017 implement rule for S/N 916 @ APS 24_ID_E
# revision 0.71 . KD 27/02/2017 implement rule for S/N 916 @ APS 24_ID_E
# revision 0.72 . KD 8/03/2017 fix nframes lookup in Eiger master file
# revision 0.72 . KD 8/03/2017 fix nframes lookup in Eiger master file
# revision 0.73 . KD 18/05/2017 for Andrey Nascimento: add Pilatus 2M S/N 24-0109 with ROTATION_AXIS=-1 0 0
REVISION="0.72 (8-Mar-2017)"
REVISION="0.72 (8-Mar-2017)"


Line 428: Line 429:
       # Known detectors for reversed-phi in SPring-8: BL41XU PILATUS3 6M 60-0125
       # Known detectors for reversed-phi in SPring-8: BL41XU PILATUS3 6M 60-0125
       # Known detectors for reversed-phi in APS: 19ID PILATUS3 6M 60-0132
       # Known detectors for reversed-phi in APS: 19ID PILATUS3 6M 60-0132
      # Known detectors for reversed-phi at MX2 beamline (Brazilian Synchrotron National Laboratory - LNLS)
       DET_SN=`grep "Detector:" tmp2 | sed "s/^.*Detector: *//"`
       DET_SN=`grep "Detector:" tmp2 | sed "s/^.*Detector: *//"`
       REVERSEPHI_SNs="
       REVERSEPHI_SNs="
PILATUS3 6M, S/N 60-0125
PILATUS3 6M, S/N 60-0125
PILATUS3 6M, S/N 60-0132
PILATUS3 6M, S/N 60-0132
PILATUS 2M, S/N 24-0109
"
"
       if echo "${DET_SN}${REVERSEPHI_SNs}" | sort | uniq -d | grep [0-9] > /dev/null; then
       if echo "${DET_SN}${REVERSEPHI_SNs}" | sort | uniq -d | grep [0-9] > /dev/null; then
2,684

edits