Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
revision 0.05
No edit summary
(revision 0.05)
Line 6: Line 6:
  # revision 0.03 . Kay Diederichs 2/2010  
  # revision 0.03 . Kay Diederichs 2/2010  
  # revision 0.04 . Kay Diederichs 4/2010 - include alternative ORGX, ORGY calculations for ADSC
  # revision 0.04 . Kay Diederichs 4/2010 - include alternative ORGX, ORGY calculations for ADSC
  # tested with some datasets from ALS, SSRL, SLS and ESRF; only MARCCD, ADSC/SMV, PILATUS detectors; for other detectors, values must be manually filled in.
# revision 0.05 . Kay Diederichs 5/2010 - grep for "Corrected" in addition to "marccd"; needed for BESSY
  # tested with some datasets from ALS, SSRL, SLS, ESRF and BESSY; only MARCCD, ADSC/SMV, PILATUS detectors; for other detectors, values must be manually filled in.
  #
  #
  # usage: e.g. generate_XDS.INP.rc "frms/mydata_1_???.img"
  # usage: e.g. generate_XDS.INP.rc "frms/mydata_1_???.img"
Line 56: Line 57:
  # find out detector type
  # find out detector type
  DET=XXX
  DET=XXX
  strings `head -1 tmp1` | grep -q marccd       && DET=mccd
  strings `head -1 tmp1` | egrep -q 'marccd|Corrected' && DET=mccd
  strings `head -1 tmp1` | grep -q PILATUS       && DET=pilatus
  strings `head -1 tmp1` | grep -q PILATUS             && DET=pilatus
  strings `head -1 tmp1` | grep -q BEAM_CENTER_X && DET=adsc
  strings `head -1 tmp1` | grep -q BEAM_CENTER_X       && DET=adsc
  # identify other detector types in the same way (MAR IP would be straightforward)
  # identify other detector types in the same way (MAR IP would be straightforward)
   
   
2,652

edits

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

Navigation menu