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)