Calculate average I/sigma from .sca file: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This python script will analyze a .sca-file and print out the key statistics missing from the standard SCALEPACK log-file, namely <math><I/sigma></math> per resolution shell.  Syntax is quite simple
This python script will analyze a .sca-file and print out the key statistics missing from the standard SCALEPACK log-file, namely <math><I/sigma></math> per resolution shell.  Syntax is quite simple


./ioversigma.py <.sca-file name> <number of shells>
  ./ioversigma.py <.sca-file name> <number of shells>


The number of shells is an optional parameter and defaults to 10 if omitted.
The number of shells is an optional parameter and defaults to 10 if omitted.
Line 7: Line 7:
[https://docs.google.com/uc?id=0Bxe0ET6Vsx-kZmM2YWZkNmYtMjQxZS00N2U3LTg1YTgtM2EwMTY5MzFlNjAw&export=download&hl=en Get ioversigma.py here]
[https://docs.google.com/uc?id=0Bxe0ET6Vsx-kZmM2YWZkNmYtMjQxZS00N2U3LTg1YTgtM2EwMTY5MzFlNjAw&export=download&hl=en Get ioversigma.py here]


This works on '''merged''' intensities, i.e. the standard scalepack output.  An alternative below uses the '''unmerged''' output from scalepack.


----
----
Line 24: Line 25:
Same trick also works with data from XDS/XSCALE; in that case use
Same trick also works with data from XDS/XSCALE; in that case use
  pointless xdsin ...
  pointless xdsin ...
Back to [[Useful scripts (aka smart piece of code)]]
67

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu