next up previous contents index
Next: Example: Definition of Up: Manipulating Reflection Data Previous: Requirements

Example: Scaling

In the following example, one adds to , scales to the same magnitude as , and then computes amplitudes. The phases of will not be touched. The operations are carried out for the selected reflections only. The operation involving is necessary only when is actually used; note that the do statement does not automatically add to .

RESOlution 8. 2.5
FWINdow 0.1 100000.
DO COMPLEX (FCALC=FCALC+FPART)
DO COMPLEX (FPART=0)
DO SCALE (FCALC=FOBS) 
DO AMPLITUDE (FCALC=2*FOBS-FCALC)


Web Manager
Sat Mar 11 09:37:37 PST 1995