This module defines a class and a function for rotating translating blocks (RTB) calculations.
Class for Rotations and Translations of Blocks (RTB) method ([FT00]). Optional arguments permit imposing constrains along Z-direction as in imANM method described in [TL12].
[FT00] | Tama F, Gadea FJ, Marques O, Sanejouand YH. Building-block approach for determining low-frequency normal modes of macromolecules. Proteins 2000 41:1-7. |
[TL12] | Lezon TR, Bahar I, Constraints Imposed by the Membrane Selectively Guide the Alternating Access Dynamics of the Glutamate Transporter GltPh |
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.
Build Hessian matrix for given coordinate set.
Parameters: |
|
---|
Calculate normal modes. This method uses scipy.linalg.eigh() function to diagonalize the Hessian matrix. When Scipy is not found, numpy.linalg.eigh() is used.
Parameters: |
|
---|
Return a copy of eigenvectors array.
Return covariance matrix. If covariance matrix is not set or yet calculated, it will be calculated using available modes.
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.
Return a copy of eigenvectors array.
Return a copy of the Hessian matrix.
Return self.
Return title of the model.
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.
Return True if model is 3-dimensional.
Return number of atoms.
Return number of degrees of freedom.
Return number of modes in the instance (not necessarily maximum number of possible modes).
Set eigen vectors and eigen values. If eigen values are omitted, they will be set to 1. Inverse eigenvalues are set as variances.
Set Hessian matrix. A symmetric matrix is expected, i.e. not a lower- or upper-triangular matrix.
Set title of the model.