Get Dihedral: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
m (add links to see also section)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
===DESCRIPTION===
'''get_dihedral''' returns the dihedral angle between four atoms.  By default, the coordinates used are from the current state, however an alternate state identifier can be provided.
  "get_dihedral" returns the dihedral angle between four atoms.  By
 
  default, the coordinates used are from the current state, however
By convention, positive dihedral angles are right-handed (looking down the atom2-atom3 axis).
  an alternate state identifier can be provided.
 
  By convention, positive dihedral angles are right-handed
  (looking down the atom2-atom3 axis).
===USAGE===
===USAGE===
    get_dihedral atom1, atom2, atom3, atom4 [,state ]
<source lang="python">
get_dihedral atom1, atom2, atom3, atom4 [,state ]
</source>
 
===EXAMPLES===
===EXAMPLES===
    get_dihedral 4/n,4/c,4/ca,4/cb
<source lang="python">
  get_dihedral 4/n,4/c,4/ca,4/cb,state=4
get_dihedral 4/n,4/c,4/ca,4/cb
get_dihedral 4/n,4/c,4/ca,4/cb,state=4
</source>
 
===PYMOL API===
===PYMOL API===
<source lang="python">
<source lang="python">
  cmd.get_dihedral(atom1,atom2,atom3,atom4,state=0)  
cmd.get_dihedral(atom1,atom2,atom3,atom4,state=0)
</source>
</source>
   
   
[[Category:Commands|get_dihedral]]
===SEE ALSO===
*[[Set_Dihedral]]
*[[DynoPlot]]
*[[Displaying_Biochemical_Properties#Calculating_dihedral_angles]]
*[[Rotamer_Toggle]]
 
 
[[Category:Commands|Get Dihedral]]
[[Category:States|Get Dihedral]]

Latest revision as of 03:41, 20 October 2015

get_dihedral returns the dihedral angle between four atoms. By default, the coordinates used are from the current state, however an alternate state identifier can be provided.

By convention, positive dihedral angles are right-handed (looking down the atom2-atom3 axis).

USAGE

get_dihedral atom1, atom2, atom3, atom4 [,state ]

EXAMPLES

get_dihedral 4/n,4/c,4/ca,4/cb
get_dihedral 4/n,4/c,4/ca,4/cb,state=4

PYMOL API

cmd.get_dihedral(atom1,atom2,atom3,atom4,state=0)

SEE ALSO