Hi Tsjerk,
very nice script! I have added it to the PyMOLWiki at
http://pymolwiki.org/index.php/Radius_of_gyration
Cheers,
Thomas
Tsjerk Wassenaar wrote, On 03/31/11 16:07:
> Hi :)
>
> The radius of gyration is not that tough. Here's a python script to do
> it in pymol. Do note that the hyd
Hi :)
The radius of gyration is not that tough. Here's a python script to do
it in pymol. Do note that the hydrodynamic radius is something
related, but different.
from pymol import cmd
import math
def rgyrate(selection):
# Get the atoms for the selection
model=cmd.get_model(selection).atom