Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
0.19
(rev 0.18)
(0.19)
Line 25: Line 25:
# revision 0.17 . KD 3/2011 - make it work for .bz2 frames; improve screen output
# revision 0.17 . KD 3/2011 - make it work for .bz2 frames; improve screen output
# revision 0.18 . KD 4/2011 - faster by doing "strings" only once; revert "images/${1##/*/}" "correction"
# revision 0.18 . KD 4/2011 - faster by doing "strings" only once; revert "images/${1##/*/}" "correction"
REVISION="0.18 (01-Apr-2011)"
# revision 0.19 . KD 6/2011 - bugfix for 0.18
REVISION="0.19 (10-Jun-2011)"
#
#
# usage: e.g. generate_XDS.INP "frms/mydata_1_???.img"
# usage: e.g. generate_XDS.INP "frms/mydata_1_???.img"
Line 186: Line 187:
   echo Data from ADSC detector. Obtaining ORGX, ORGY depends on beamline setup:
   echo Data from ADSC detector. Obtaining ORGX, ORGY depends on beamline setup:
   SENSOR_THICKNESS=0.01
   SENSOR_THICKNESS=0.01
   strings $FIRSTFRAME | sed s/\;// > tmp2
   sed s/\;// tmp2 > tmp1
  mv tmp1 tmp2


       # find X_RAY_WAVELENGTH:
       # find X_RAY_WAVELENGTH:
Line 222: Line 224:
   NX=2463 NY=2527 QX=0.172 QY=0.172
   NX=2463 NY=2527 QX=0.172 QY=0.172
   echo Data from a Pilatus detector
   echo Data from a Pilatus detector
   head -50 $FIRSTFRAME | sed s/#//> tmp2
   sed s/#// tmp2 > tmp1
  mv tmp1 tmp2


       # find X_RAY_WAVELENGTH:
       # find X_RAY_WAVELENGTH:
2,684

edits

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

Navigation menu