Dihedral

This module defines Dihedral for dealing with dihedral information provided by using AtomGroup.setDihedrals() method.

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

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

getIndices()[source]

Returns indices of dihedrald atoms.

getSize(radian=False)[source]

Returns dihedral size.

getVectors()[source]

Returns bond vectors that originate from the central atom.

setACSIndex(index)[source]

Set the coordinate set at index active.