3. Analysis modules

The MDAnalysis.analysis module contains code to carry out specific analysis functionality. It is based on the core functionality (i.e. trajectory I/O, selections etc). The analysis modules can be used as examples for how to use MDAnalysis but also as working code for research projects; typically all contributed code has been used by the authors in their own work.

Please see the individual module documentation for additional references and citation information.

These modules are not imported by default; in order to use them one has to import them from MDAnalysis.analysis, for instance

import MDAnalysis.analysis.align


Some of the modules require additional Python packages such as scipy from the SciPy package or networkx from NetworkX. These package are not automatically installed (although one can add the [analysis] requirement to the easy_install command line to force their installation.