|           | Xplor-NIH home Documentation | 
Next: Requirements Up: Manipulating Reflection Data Previous: Manipulating Reflection Data
Syntax
- DO  xrefin-do-statement xrefin-do-statement 
- is invoked as an xrefin statement. Action takes place as soon as the construct is complete.
 xrefin-do-statement xrefin-do-statement :== :==
 xrefin-do-mode xrefin-do-mode ( ( xrefin-property xrefin-property = = xrefin-do-expression xrefin-do-expression ) )
 xrefin-do-mode xrefin-do-mode :== :==
- 
  - AMPLitude
- carries out an operation using amplitudes of xrefin properties.
- COMPlex
- carries out an operation in complex space.
- PHASe
- carries out an operation using phases of xrefin properties. Phases are manipulated in degrees.
- SCALe
- 
       
   involves an operation that multiplies the left-hand side 
   (lhs) by
    a scale factor  , which is defined as , which is defined as
 where rhs represents the right-hand side of the equation. The action of this statement is identical to the scaling carried out when computing the (13.12)  value or the residual 
     (cf. Eqs. 13.1, 13.6), except that it refers
the scaling to the right-hand side of the equation, whereas
 in the residual or value or the residual 
     (cf. Eqs. 13.1, 13.6), except that it refers
the scaling to the right-hand side of the equation, whereas
 in the residual or value evaluation the scaling
 refers to value evaluation the scaling
 refers to .
Therefore, if the right-hand side of the scaling operation consists
of .
Therefore, if the right-hand side of the scaling operation consists
of , the program refers only to , the program refers only to but not to
to but not to
to . .
 
 xrefin-do-expression xrefin-do-expression :== :==
 xrefin-vflc xrefin-vflc [ [ op op   xrefin-do-expression xrefin-do-expression ]
     represents a mathematical operation and 
      is defined in Section 2.16. ]
     represents a mathematical operation and 
      is defined in Section 2.16.
 xrefin-vflc xrefin-vflc :== :==
- 
   function function 
-      xrefin-function xrefin-function     symbol symbol     real real     integer integer     complex complex     xrefin-property xrefin-property represents mathematical functions
    and is defined in Section 2.16. Special
   xrefin functions are defined below.  The data
   type of the function arguments has to match
   the data type of the operands. represents mathematical functions
    and is defined in Section 2.16. Special
   xrefin functions are defined below.  The data
   type of the function arguments has to match
   the data type of the operands.
 
 xrefin-property xrefin-property :== :==
- 
- FCALC
- specifies calculated structure factors  (complex). (complex).
- FOBS
- specifies observed structure factors  (complex). (complex).
- FPART
- specifies partial structure factors  (complex). (complex).
- SIGMA
- specifies  values (real). values (real).
- TEST
- is an array for cross-validation that
  allows one to compute the free  value  (see Chapter
  17). value  (see Chapter
  17).
- WEIGHT
- specifies  weights (real). weights (real).
 
 xrefin-function xrefin-function :== :==
- 
- H()
- defines an array that consists of the Miller index h.
- K()
- defines an array that consists of the Miller index k.
- L()
- defines an array that consists of the Miller index l.
- S()
- defines an array that consists of the length of the reciprocal lattice vector for each reflection h,k,l.