Hydrogen Bond Donor
This module defines Donor for dealing with donor information provided
by using AtomGroup.setDonors() method.
-
class
Donor(ag, indices, acsi=None)[source]
A pointer class for donored 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 donored atoms.
-
getIndices()[source]
Returns indices of donored atoms.
-
getLength()[source]
Returns donor length.
-
getVector()[source]
Returns donor vector that originates from the first atom.
-
setACSIndex(index)[source]
Set the coordinate set at index active.