Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
→‎The script: v 1.11: add Dectris EIGER2 CdTe 16M, E-32-0129
(→‎Known bugs: this should be fixed with rev 1.10)
(→‎The script: v 1.11: add Dectris EIGER2 CdTe 16M, E-32-0129)
Line 128: Line 128:
# revision 1.09 . KD, Feng Yu 7/11/2021 fix detector number BNL E-18-0121 to be E-18-0104
# revision 1.09 . KD, Feng Yu 7/11/2021 fix detector number BNL E-18-0121 to be E-18-0104
# revision 1.10 . KD NeXus header for Eiger
# revision 1.10 . KD NeXus header for Eiger
REVISION="1.10 (7-MAR-2022)"
# revision 1.11 . KD / Helena Taberman ROTATION_AXIS=-1 0 0 for Eiger .cbf data from Petra P14
REVISION="1.11 (15-MAR-2022)"


#                                                                                                             
#                                                                                                             
Line 142: Line 143:
#                                                                                                                 
#                                                                                                                 
# notes for debugging of the script:                                                                             
# notes for debugging of the script:                                                                             
# - add the -x option to the first line, to see where an error occurs                                             
# - add the -x option to #!/bin/bash in first line, to see where an error occurs                                             
# - comment out the removal of tmp1 and tmp2 in the last line                                                     
# - comment out the removal of tmp1 and tmp2 in the last line                                                     
#                                                                                                                 
#                                                                                                                 
Line 548: Line 549:
       # Known detectors for reversed-phi at CHESS F1 PILATUS3 6M, S/N 60-0127
       # Known detectors for reversed-phi at CHESS F1 PILATUS3 6M, S/N 60-0127
       # Known detectors for reversed-phi at SSRF BL18U1 (S/N 60-0123) and BL19U1 (S/N XX-XXX) (!; 2019-10-19: staff will fix this)
       # Known detectors for reversed-phi at SSRF BL18U1 (S/N 60-0123) and BL19U1 (S/N XX-XXX) (!; 2019-10-19: staff will fix this)
      # Known detectors for reversed-phi at Petra P14 (Eiger .cbf files)
       DET_SN=`grep "Detector:" tmp2 | sed "s/^.*Detector: *//"`
       DET_SN=`grep "Detector:" tmp2 | sed "s/^.*Detector: *//"`
       REVERSEPHI_SNs="
       REVERSEPHI_SNs="
Line 555: Line 557:
PILATUS3 6M, S/N 60-0127
PILATUS3 6M, S/N 60-0127
PILATUS3 6M, S/N 60-0123
PILATUS3 6M, S/N 60-0123
Dectris EIGER2 CdTe 16M, E-32-0129
"
"
       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

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu