next up previous contents index
Next: Example: Application of Up: Manipulating Reflection Data Previous: Example: Scaling

Example: Definition of a Weighting Scheme

This example shows how to define an arbitrary weighting scheme that is a function of SIGMA, FOBS, FCALC, S, H, K, and L. The statement should be inserted at any place after reading the reflections and before calculating the structure factors with the new weights. The following lines are examples of possible weighting schemes:

RESOlution 8. 2.5
FWINdow 0.1 100000.
DO (WEIGHT = 1. / SIGMA^2 )
DO (WEIGHT = 1. / ( 10. + 60. * ( S()/2. - 0.16667 ))^2 )


Sat Mar 11 09:37:37 PST 1995