Get Dihedral: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
===DESCRIPTION=== | ===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=== | ===USAGE=== | ||
get_dihedral atom1, atom2, atom3, atom4 [,state ] | |||
===EXAMPLES=== | ===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=== | ===PYMOL API=== | ||
<source lang="python"> | |||
cmd.get_dihedral(atom1,atom2,atom3,atom4,state=0) | |||
</source> | |||
[[Category:Commands|get_dihedral]] | [[Category:Commands|get_dihedral]] |
Revision as of 15:27, 3 January 2006
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)