schrodinger.trajectory.prody.modeset module

This module defines a pointer class for handling subsets of normal modes.

class schrodinger.trajectory.prody.modeset.ModeSet(model, indices)[source]

Bases: object

A class for providing access to subset of mode data. Instances are obtained by slicing an NMA model (:class: ANM, :class: GNM, or :class: PCA). ModeSet’s contain a reference to the model and a list of mode indices. Methods common to NMA models are also defined for mode sets.

__init__(model, indices)[source]
__len__()[source]
is3d()[source]

Return True is model is 3-dimensional.

numAtoms()[source]

Return number of atoms.

numModes()[source]

Return number of modes in the instance (not necessarily maximum number of possible modes).

numDOF()[source]

Return number of degrees of freedom.

getTitle()[source]

Return title of the mode set.

getModel()[source]

Return the model that the modes belongs to.

getIndices()[source]

Return indices of modes in the mode set.

getEigvals()[source]

Return eigenvalues. For :class: PCA and :class: EDA models built using coordinate data in Å, unit of eigenvalues is |A2|. For :class: ANM and :class: GNM, on the other hand, eigenvalues are in arbitrary or relative units but they correlate with stiffness of the motion along associated eigenvector.

getVariances()[source]

Return variances. For :class: PCA and :class: EDA models built using coordinate data in Å, unit of variance is |A2|. For :class: ANM and :class: GNM, on the other hand, variance is the inverse of the eigenvalue, so it has arbitrary or relative units.

getArray()[source]

Return a copy of eigenvectors array.

getEigvecs()

Return a copy of eigenvectors array.