parmed.topologyobjects.TorsionTorsion¶
-
class
parmed.topologyobjects.
TorsionTorsion
(atom1, atom2, atom3, atom4, atom5, type=None)[source]¶ This is a coupled-torsion map used in the AMOEBA force field similar to the correction-map (CMAP) potential used by the CHARMM force field
- Parameters
- atom1
Atom
An atom on one end of the valence torsion-torsion bonded to atom2
- atom2
Atom
An atom in the middle of the torsion-torsion bonded to atoms 1 and 3
- atom3
Atom
An atom in the middle of the torsion-torsion bonded to atoms 2 and 4
- atom4
Atom
An atom in the middle of the torsion-torsion bonded to atoms 3 and 5
- atom5
Atom
An atom in the middle of the torsion-torsion bonded to atom 4
- type
TorsionTorsionType
The TorsionTorsionType object containing the parameter map for this term
- atom1
Notes
A TorsionTorsion can contain bonds or atoms. A bond is contained if it exists between atoms 1 and 2, between atoms 2 and 3, between atoms 3 and 4, or between atoms 4 and 5.
Examples
>>> a1, a2, a3, a4, a5 = Atom(), Atom(), Atom(), Atom(), Atom() >>> tortor = TorsionTorsion(a1, a2, a3, a4, a5) >>> Bond(a1, a2) in tortor and Bond(a2, a3) in tortor True >>> Bond(a1, a3) in tortor False
Methods
delete
()Deletes this TorsionTorsion from the atoms that make it up.
extended
(atom1, atom2, atom3, atom4, atom5, …)Alternative constructor for correction maps defined with 8 atoms (each torsion being separately specified).
same_atoms
(thing)A coupled-torsion is equivalent if the 5 atoms are in the same or reverse order Allow comparison with another type of cmap or with a sequence of 5 indexes
-
__init__
(atom1, atom2, atom3, atom4, atom5, type=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(atom1, atom2, atom3, atom4, atom5)Initialize self.
delete
()Deletes this TorsionTorsion from the atoms that make it up.
extended
(atom1, atom2, atom3, atom4, atom5, …)Alternative constructor for correction maps defined with 8 atoms (each torsion being separately specified).
same_atoms
(thing)A coupled-torsion is equivalent if the 5 atoms are in the same or reverse order Allow comparison with another type of cmap or with a sequence of 5 indexes