This is a read-only mirror of pymolwiki.org

Get Dihedral

From PyMOL Wiki
Revision as of 02:04, 22 February 2005 by Tree (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

  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)