Hydrogen Bond Acceptor

This module defines Acceptor for dealing with acceptor information provided by using AtomGroup.setAcceptors() method.

class Acceptor(ag, indices, acsi=None)[source]

A pointer class for acceptored 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 acceptored atoms.

getIndices()[source]

Returns indices of acceptored atoms.

getLength()[source]

Returns acceptor length.

getVector()[source]

Returns acceptor vector that originates from the first atom.

setACSIndex(index)[source]

Set the coordinate set at index active.