XDSGUI User tools: Difference between revisions
 Created page with "This page is for sharing useful scripts to use in XDSGUI User tools  --- "Update beam center" Read beam center from IDXREF.LP, then adjust location to frame coordinates in case of 2-theta offset  Formatted code: <pre> X=$(perl -e ' # Read IDXREF.LP to get refined beam center, save in $x, $y open(F,"<IDXREF.LP"); while(<F>){   if(/BEAM +(\S*\d) +(\S*\d)/){ $x=$1; $y=$2; } # get X,Y beam } # Read XDS.INP to get parameters needed to adjust for horizontal 2-theta offset (ver..."  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
This page is for sharing useful scripts to use in XDSGUI User tools  | This page is for sharing useful scripts to use in XDSGUI User tools  | ||
===Update beam center===  | |||
Read beam center from IDXREF.LP, then adjust location to frame coordinates in case of 2-theta offset  | Read beam center from IDXREF.LP, then adjust location to frame coordinates in case of 2-theta offset  | ||