Generate XDS.INP: Difference between revisions

→‎The script: round OSCILLATION_RANGE to a multiple of 0.0001
(→‎The script: round OSCILLATION_RANGE to a multiple of 0.0001)
Line 574: Line 574:
  DELTAOMEGA=`awk '/OMEGA \? \? \?/{print $6}' tmp2`
  DELTAOMEGA=`awk '/OMEGA \? \? \?/{print $6}' tmp2`
  PHI=`awk '/PHI \? \? \?/{print $5}' tmp2`
  PHI=`awk '/PHI \? \? \?/{print $5}' tmp2`
  DELTAPHI=`awk '/PHI \? \? \?/{print $6}' tmp2`
  DELTAPHI=`awk '/PHI \? \? \?/{printf "%5.4f",$6}' tmp2`
  KAPPA=`awk '/CHI \? \? \?/{print $5}' tmp2`
  KAPPA=`awk '/CHI \? \? \?/{print $5}' tmp2`
  echo OMEGA DELTAOMEGA PHI DELTAPHI KAPPA= $OMEGA $DELTAOMEGA $PHI $DELTAPHI $KAPPA
  echo OMEGA DELTAOMEGA PHI DELTAPHI KAPPA= $OMEGA $DELTAOMEGA $PHI $DELTAPHI $KAPPA
2,684

edits