1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
|
.. _analysis:
.. currentmodule:: mdtraj
Analysis Reference
==================
Trajectory analysis is the heart of MDTraj. These functions can be used to run
a variety of analyses on :class:`mdtraj.Trajectory` objects.
It's usually as simple as ::
>>> import mdtraj as md
>>> t = md.load('trajectory.pdb')
>>> print(md.compute_phi(t))
Root-mean-square deviation (RMSD)
---------------------------------
.. autosummary::
:toctree: api/generated/
rmsd
rmsf
lprmsd
Trajectory.superpose
Hydrogen Bonding
----------------
.. autosummary::
:toctree: api/generated/
baker_hubbard
kabsch_sander
wernet_nilsson
Pi-Stacking
-----------
.. autosummary::
:toctree: api/generated/
pi_stacking
Secondary Structure
-------------------
.. autosummary::
:toctree: api/generated/
compute_dssp
Shape Metrics
-------------------
.. autosummary::
:toctree: api/generated/
compute_gyration_tensor
principal_moments
asphericity
acylindricity
relative_shape_antisotropy
Surface Area, Radius of Gyration and Inertia
--------------------------------------------
.. autosummary::
:toctree: api/generated/
shrake_rupley
compute_rg
compute_inertia_tensor
Distances
---------
.. autosummary::
:toctree: api/generated/
compute_distances
compute_displacements
compute_neighbors
compute_contacts
compute_drid
compute_center_of_mass
geometry.squareform
compute_rdf
Bond Angles and Dihedrals
-------------------------
.. autosummary::
:toctree: api/generated/
compute_angles
compute_dihedrals
compute_phi
compute_psi
compute_chi1
compute_chi2
compute_chi3
compute_chi4
compute_omega
NMR Observables
---------------
.. autosummary::
:toctree: api/generated/
compute_J3_HN_C
compute_J3_HN_CB
compute_J3_HN_HA
chemical_shifts_shiftx2
chemical_shifts_ppm
chemical_shifts_spartaplus
reindex_dataframe_by_atoms
Thermodynamic Quantities
------------------------
.. autosummary::
:toctree: api/generated/
dipole_moments
static_dielectric
isothermal_compressability_kappa_T
thermal_expansion_alpha_P
density
Order Parameters
----------------
.. autosummary::
:toctree: api/generated/
compute_nematic_order
compute_directors
|