Normal Mode Analysis

This module defines a class handling normal mode analysis data.

class NMA(title='Unknown')[source]

A class for handling Normal Mode Analysis (NMA) data.

addEigenpair(vector, value=None)[source]

Add eigen vector and eigen value pair(s) to the instance. If eigen value is omitted, it will be set to 1. Inverse eigenvalues are set as variances.

getArray()[source]

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.

getEigvals()[source]

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

getEigvecs()

Return a copy of eigenvectors array.

getModel()[source]

Return self.

getTitle()[source]

Return title of the model.

getVariances()[source]

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

is3d()[source]

Return True if model is 3-dimensional.

numAtoms()[source]

Return number of atoms.

numDOF()[source]

Return number of degrees of freedom.

numModes()[source]

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

setEigens(vectors, values=None)[source]

Set eigen vectors and eigen values. If eigen values are omitted, they will be set to 1. Inverse eigenvalues are set as variances.

setTitle(title)[source]

Set title of the model.

Read the Docs v: v1.5
Versions
latest
v1.5
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.