Generate XDS.INP: Difference between revisions

minor fix
(generate_XDS.INP revision 0.30)
(minor fix)
Line 190: Line 190:
       BEAM_CENTER_Y=`grep BEAM_CENTER_Y tmp2 | sed s/BEAM_CENTER_Y=//`
       BEAM_CENTER_Y=`grep BEAM_CENTER_Y tmp2 | sed s/BEAM_CENTER_Y=//`
# fix 2010-04-26 - tell user about possible ORGX, ORGY alternatives -   
# fix 2010-04-26 - tell user about possible ORGX, ORGY alternatives -   
      COMMENT_ORGXY="
! Following are possible beam center interpretations for ADSC detectors"
# at ESRF, PF, and ... (pls fill in!) the following should be used:         
# at ESRF, PF, and ... (pls fill in!) the following should be used:         
       ORGX=`echo "scale=1; $BEAM_CENTER_Y/$QX" | bc -l`               
       ORGX=`echo "scale=1; $BEAM_CENTER_Y/$QX" | bc -l`               
       ORGY=`echo "scale=1; $BEAM_CENTER_X/$QX" | bc -l`               
       ORGY=`echo "scale=1; $BEAM_CENTER_X/$QX" | bc -l`               
       echo - at ESRF,PF BLs use: ORGX=$ORGX ORGY=$ORGY                     
       echo - at ESRF,PF BLs use: ORGX=$ORGX ORGY=$ORGY                     
       COMMENT_ORGXY="
       COMMENT_ORGXY="${COMMENT_ORGXY}
! Following are possible beam center interpretations for ADSC detectors
! ORGX= $ORGX ORGY= $ORGY ! For ESRF,PF,..."
! ORGX= $ORGX ORGY= $ORGY ! For ESRF,PF,..."
# this 2nd alternative convention should be used at the following beamlines (pls complete the list): ALS 5.0.3, ...
# this 2nd alternative convention should be used at the following beamlines (pls complete the list): ALS 5.0.3, ...
33

edits