Reference¶
qaa.__main__¶
Command-line interface.
qaa.cli¶
qaa.cli Module¶
Module that contains the command line app.
Why does this file exist, and why not put this in __main__?
You might be tempted to import things from __main__ later, but that will cause problems: the code will get executed twice:
When you run python -mqaa python will execute
__main__.pyas a script. That means there won’t be anyqaa.__main__insys.modules.When you import __main__ it will get executed again (as a module) because there’s no
qaa.__main__insys.modules.Also see (1) from http://click.pocoo.org/5/setuptools/#setuptools-integration
qaa.commands¶
qaa.commands.cmd_align Module¶
Align trajectories to their average structure.
qaa.commands.cmd_cluster Module¶
Cluster data into regions.
Functions¶
|
Configure the logger. |
|
Locate a point in the data closest to the point. |
qaa.commands.cmd_pca Module¶
Subcommand to find the principal components of a trajectory.
qaa.commands.cmd_qaa Module¶
CLI to compute quasi-anharmonic analysis.
qaa.decomposition¶
qaa.decomposition.jade Module¶
Module to find signals using the Jade ICA method.
This module contains the function, _jade, which does blind source separation of real signals. The original Python code can be found at https://github.com/gvacaliuc/jade_c/blob/master/jade.py
Classes¶
|
Base class for all estimators in scikit-learn. |
|
A numpy float. |
|
Perform blind source separation using joint diagonalization. |
|
NDArray is a representation of numpy.ndarray. |
|
Mixin class for all transformers in scikit-learn. |
|
Return successive r-length combinations of elements in the iterable. |
qaa.libs¶
qaa.libs.align Module¶
Functions to align coordinate files.
Functions¶
|
Align mobile to reference using the Kabsch method. |
|
Calculate the root-mean-square error between two arrays. |
qaa.libs.figure Module¶
Draw and save figures for QAA.
qaa.libs.kabsch Module¶
Align a trajectory using the Kabsch method.
Notes
Kabsch functions originally from https://github.com/charnley/rmsd/blob/master/rmsd/calculate_rmsd.py
Classes¶
|
Base class for all estimators in scikit-learn. |
|
A numpy float. |
|
Kabsch alignment method. |
|
NDArray is a representation of numpy.ndarray. |
|
Standardize features by removing the mean and scaling to unit variance |
|
Mixin class for all transformers in scikit-learn. |
qaa.libs.utils Module¶
Various utilities.
Functions¶
|
Compute the average structure of a trajectory. |
|
Read a molecular dynamics trajectory and retrieve the coordinates. |
|
Convert a numerical quantity between unit systems. |
|
Reshape a n * m * 3 trajectory to a n * (m * 3) 2D matrix. |
|
Calculate the root-mean-square error between two arrays. |