Graeme,
Just as a general ballpark figure, for protein work the difference
between approximate FFT structure factors and the exact direct sum
figures is on the order of 1%.
Nick
On Fri, Dec 7, 2012 at 8:29 AM,
Bing! Bet Nat's hit this in one.
There may be a resolution dependence for 'F' but F001 (say) should not change, and should not go from 0 to non-0 no matter what. Direct summation much better here...
Presumably for a protein structure the effects of gridding will also be much less significant.
Thanks,
Graeme ________________________________________ From: [email protected] [[email protected]] on behalf of Nathaniel Echols [[email protected]] Sent: 07 December 2012 15:46 To: cctbx mailing list Subject: Re: [cctbxbb] Structure factor calculation weirdness
On Fri, Dec 7, 2012 at 7:36 AM,
wrote: Some confusion here at diamond – it seems that the amplitude of F(hkl) depends on dmin
Yes, because it's using the FFT method, which means it first does map sampling on a grid whose dimensions will partly depend on the resolution. I'm not sure if there is resolution dependence for the scattering factors (I thought so, but I don't really know details), but I tried using direct summation and the resolution effect disappears.
f_calc = structure.structure_factors( algorithm="direct", d_min = dmin).f_calc()
For your toy example the speed difference isn't noticeable - for a protein structure it will be considerable.
-Nat _______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
_______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
-- Nicholas K. Sauter, Ph. D. Computer Staff Scientist, Physical Biosciences Division Lawrence Berkeley National Laboratory 1 Cyclotron Rd., Bldg. 64R0121 Berkeley, CA 94720-8118 (510) 486-5713