schrodinger.trajectory.prody.nma module¶
This module defines a class handling normal mode analysis data.
-
class
schrodinger.trajectory.prody.nma.
NMA
(title='Unknown')[source]¶ Bases:
object
A class for handling Normal Mode Analysis (NMA) data.
-
getTrace
()[source]¶ Return trace, and emit a warning message if trace is calculated using eigenvalues of a subset of variances (eigenvalues or inverse eigenvalues).
-
numModes
()[source]¶ Return number of modes in the instance (not necessarily maximum number of possible modes).
-
getEigvals
()[source]¶ Return eigenvalues. For
PCA
andEDA
models built using coordinate data in Å, unit of eigenvalues is |A2|. ForANM
,GNM
, andRTB
, 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
PCA
andEDA
models built using coordinate data in Å, unit of variance is |A2|. ForANM
,GNM
, andRTB
, on the other hand, variance is the inverse of the eigenvalue, so it has arbitrary or relative units.
-
getEigvecs
()¶ Return a copy of eigenvectors array.
-
getCovariance
()[source]¶ Return covariance matrix. If covariance matrix is not set or yet calculated, it will be calculated using available modes.
-