Bond
This module defines Bond for dealing with bond information provided
by using the AtomGroup.setBonds() or AtomGroup.inferBonds() method.
-
class
Bond(ag, indices, acsi=None)[source]
A pointer class for bonded atoms. Following built-in functions are
customized for this class:
-
getACSIndex()[source]
Returns index of the coordinate set.
-
getAtomGroup()[source]
Returns atom group.
-
getAtoms()[source]
Returns bonded atoms.
-
getIndices()[source]
Returns indices of bonded atoms.
-
getLength()[source]
Returns bond length.
-
getVector()[source]
Returns bond vector that originates from the first atom.
-
setACSIndex(index)[source]
Set the coordinate set at index active.