Generate XDS.INP: Difference between revisions

(→‎The script: revision 0.80)
Line 97: Line 97:
# revision 0.79 . KD 16/01/2018 read OVERLOAD from Pilatus miniCBF header instead of fixing at 1048576
# revision 0.79 . KD 16/01/2018 read OVERLOAD from Pilatus miniCBF header instead of fixing at 1048576
# revision 0.80 . KD 13/02/2018 remove DISTANCE keyword from REFINE() list; remove POSITION from REFINE(IDXREF)
# revision 0.80 . KD 13/02/2018 remove DISTANCE keyword from REFINE() list; remove POSITION from REFINE(IDXREF)
REVISION="0.80 (13-Feb-2018)"
# revision 0.81 . KD 21/02/2018 when encountering CBF files from Eiger (ESRF), treat as Pilatus detector
REVISION="0.81 (21-Feb-2018)"


#                                                                                                             
#                                                                                                             
Line 208: Line 209:
  # the reason is that FIRSTFRAME may contain a blank, which makes some commands fail                                                 
  # the reason is that FIRSTFRAME may contain a blank, which makes some commands fail                                                 
  egrep -qi 'marccd|Corrected' tmp2 && DET=mccd                                 
  egrep -qi 'marccd|Corrected' tmp2 && DET=mccd                                 
  grep -q PILATUS tmp2            && DET=pilatus                            
  grep -q PILATUS tmp2            && DET=pilatus  
grep -iq Eiger tmp2              && DET=pilatus                           
  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
  head -n1 tmp2 | grep -q "^R-AXIS" && DET=raxis
2,652

edits