Normal Mode
This module defines classes for handling mode data.
- class prody.dynamics.mode.Mode(model, index)[source]
A class to provide access to and operations on mode data.
- __mul__(other)
Returns scaled mode or dot product between modes.
- __rmul__(other)
Returns scaled mode or dot product between modes.
- getArrayNx3()
Returns a copy of array with shape (N, 3).
- getEigval()[source]
Returns normal mode eigenvalue. For
PCAandEDAmodels built using coordinate data in Å, unit of eigenvalues is |A2|. ForANMandGNM, on the other hand, eigenvalues are in arbitrary or relative units but they correlate with stiffness of the motion along associated eigenvector.
- getEigvals()
Returns normal mode eigenvalue. For
PCAandEDAmodels built using coordinate data in Å, unit of eigenvalues is |A2|. ForANMandGNM, on the other hand, eigenvalues are in arbitrary or relative units but they correlate with stiffness of the motion along associated eigenvector.
- getEigvec()
Returns a copy of the normal mode array (eigenvector).
- getEigvecs()
Returns a copy of the normal mode array (eigenvector).
- getVariance()[source]
Returns variance along the mode. For
PCAandEDAmodels built using coordinate data in Å, unit of variance is |A2|. ForANMandGNM, on the other hand, variance is the inverse of the eigenvalue, so it has arbitrary or relative units.
- getVariances()
Returns variance along the mode. For
PCAandEDAmodels built using coordinate data in Å, unit of variance is |A2|. ForANMandGNM, on the other hand, variance is the inverse of the eigenvalue, so it has arbitrary or relative units.
- numModes()
Returns 1.
- class prody.dynamics.mode.Vector(array, title='Unknown', is3d=True)[source]
A class to provide operations on a modified mode array. This class holds only mode array (i.e. eigenvector) data, and has no associations with an NMA instance. Scalar multiplication of
Modeinstance or addition of twoModeinstances results in aVectorinstance.- __mul__(other)
Returns scaled mode or dot product between modes.
- __rmul__(other)
Returns scaled mode or dot product between modes.
- getArrayNx3()
Returns a copy of array with shape (N, 3).
- is3d()[source]
Returns True if vector instance describes a 3-dimensional property, such as a deformation for a set of atoms.
- numAtoms()[source]
Returns number of atoms. For a 3-dimensional vector, returns length of the vector divided by 3.
- numModes()
Returns 1.