Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Official government website icon

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

icon-https

Secure .gov websites use HTTPS
A lock ( Lock Locked padlock icon )or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases NIH: National Institute of Diabetes and Digestive and Kidney Diseases

  next up previous contents index  Xplor-NIH home Documentation

Next: Example: Application of a 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 )


Xplor-NIH 2025-03-21
  • Privacy Policy
  • Freedom of Information Act
  • Accessibility
  • Disclaimers
  • Copyright
  • Vulnerability Disclosure Policy
  • U.S. Department of Health and Human Services
  • National Institutes of Health