This module defines functions for editing normal mode data.
Extend a coarse grained model built for nodes to atoms. model may be ANM, GNM, PCA, or NMA instance. This function will take part of the normal modes for each node (i.e. Cα atoms) and extend it to all other atoms in the same residue. For each atom in nodes argument atoms argument must contain a corresponding residue. If norm is True, extended modes are normalized.
Extend a coarse grained normal mode built for nodes to atoms. This function will take part of the normal modes for each node (i.e. Cα atoms) and extend it to all other atoms in the same residue. For each atom in nodes argument atoms argument must contain a corresponding residue. Extended mode is multiplied by the square root of variance of the mode. If norm is True, extended mode is normalized.
Extend a coarse grained vector for nodes to atoms. This function will take part of the normal modes for each node (i.e. Cα atoms) and extend it to all other atoms in the same residue. For each atom in nodes, atoms argument must contain a corresponding residue.
Return part of the mode for atoms matching select. This works slightly different from sliceVector(). Mode array (eigenvector) is multiplied by square-root of the variance along the mode. If mode is from an elastic network model, variance is defined as the inverse of the eigenvalue. Note that returned Vector instance is not normalized.
Parameters: | |
---|---|
Returns: |
Return a part of the model for atoms matching select. Note that normal modes (eigenvectors) are not normalized.
Parameters: | |
---|---|
Returns: |
Return part of the vector for atoms matching select. Note that returned Vector instance is not normalized.
Parameters: | |
---|---|
Returns: |
Return reduced NMA model. Reduces a NMA model to a subset of atoms matching select. This function behaves differently depending on the type of the model argument. For ANM and GNM or other NMA models, force constant matrix for system of interest (specified by the select) is derived from the force constant matrix for the model by assuming that for any given displacement of the system of interest, other atoms move along in such a way as to minimize the potential energy. This is based on the formulation in [KH00]. For PCA models, this function simply takes the sub-covariance matrix for selection.
[KH00] | Konrad H, Andrei-Jose P, Serge D, Marie-Claire BF, Gerald RK. Harmonicity in slow protein dynamics. Chem Phys 2000 261:25-37. |
Parameters: | |
---|---|
Returns: |