Re: [ccp4bb] Generate Random phase set.

2007-03-20 Thread Bart Hazes
SFTOOLS has a random number generator that produces a uniform distribution between 0 and 1, which you can than use in different ways. You could then select all non-centric reflections and asign their phase as RanU*360. For the centric reflections you can first set them to the P-variable in the

Re: [ccp4bb] Generate Random phase set.

2007-03-20 Thread Eleanor Dodson
You can do that to some extent by scattering random atoms about and calculating phases from them.. Then the centrics will be sensible. That is how some direct methods programs get their "random starting set" of phases.. Depends on how flat you want the starting map to be Eleanor David Briggs

[ccp4bb] Generate Random phase set.

2007-03-20 Thread David Briggs
Hi y'all. Excuse that rather "noddy" question, but I've been googling this for hours now and I've finally lost patience... How can I generate a random phase set for either a .mtz or .hkl (cns format) reflection file (if possbile with sensible values for centric reflections). That's it. Thanks