Bond

This module defines Bond for dealing with bond information provided by using AtomGroup.setBonds() 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]

Return index of the coordinate set.

getAtomGroup()[source]

Return atom group.

getAtoms()[source]

Return bonded atoms.

getIndices()[source]

Return indices of bonded atoms.

getLength()[source]

Return bond length.

getVector()[source]

Return bond vector that originates from the first atom.

setACSIndex(index)[source]

Set the coordinate set at index active.

Read the Docs v: v1.5
Versions
latest
v1.5
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.