[gmx-users] g_angle

David spoel at xray.bmc.uu.se
Tue Sep 28 22:54:17 CEST 2004


On Tue, 2004-09-28 at 21:47, Bamidele Adisa wrote:
> hi,
> i'm trying to get the average dihedral angle using g_angle.
> how are the average dihedral angle and deviation calculated in gromacs?
> does gromacs use the absolute values of angles or just uses the real values 
> whether positive or negative?
It probably puts it with -180 to +180 first, but in general this is not
a good idea. You want to first take the cosine, then average and then
take the acos.
> thanks
> 
> ______________________
> Bamidele Adisa
> Dept of Chemical Engineering
> Clemson University
> Clemson, SC 29634-0909
> 864-654-0586
> ______________________
> 
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
-- 
David.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://xray.bmc.uu.se/~spoel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the gromacs.org_gmx-users mailing list