Angle

This module defines Angle for dealing with angle information provided by using AtomGroup.setAngles() method.

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

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

getIndices()[source]

Returns indices of angled atoms.

getSize(radian=False)[source]

Returns angle size.

getVectors()[source]

Returns bond vectors that originate from the central atom.

setACSIndex(index)[source]

Set the coordinate set at index active.