Skip to content

Commit

Permalink
Rebuilt docs for 0.11.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed Sep 7, 2015
1 parent 7545242 commit de97ccc
Show file tree
Hide file tree
Showing 306 changed files with 26,201 additions and 11,693 deletions.
4 changes: 2 additions & 2 deletions package/doc/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 2acccabecdaec7349b7ed52e909eca3c
tags: fbb0d17656682115ca4d033fb2f83ba1
config: 1707bab6c18e98f51c7b155afbee15c1
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified package/doc/html/.doctrees/documentation_pages/core/init.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified package/doc/html/.doctrees/documentation_pages/lib/log.doctree
Binary file not shown.
Binary file not shown.
Binary file modified package/doc/html/.doctrees/documentation_pages/lib/parallel.doctree
Binary file not shown.
Binary file modified package/doc/html/.doctrees/documentation_pages/lib/qcprot.doctree
Binary file not shown.
Binary file not shown.
Binary file modified package/doc/html/.doctrees/documentation_pages/lib/util.doctree
Binary file not shown.
Binary file not shown.
Binary file modified package/doc/html/.doctrees/documentation_pages/overview.doctree
Binary file not shown.
Binary file modified package/doc/html/.doctrees/documentation_pages/references.doctree
Binary file not shown.
Binary file modified package/doc/html/.doctrees/documentation_pages/selections.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified package/doc/html/.doctrees/documentation_pages/units.doctree
Binary file not shown.
Binary file modified package/doc/html/.doctrees/documentation_pages/version.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified package/doc/html/.doctrees/environment.pickle
Binary file not shown.
Binary file modified package/doc/html/.doctrees/index.doctree
Binary file not shown.
66 changes: 31 additions & 35 deletions package/doc/html/_modules/MDAnalysis/analysis/align.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Expand All @@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>MDAnalysis.analysis.align &mdash; MDAnalysis 0.11.0-dev documentation</title>
<title>MDAnalysis.analysis.align &mdash; MDAnalysis 0.11.0 documentation</title>

<link rel="stylesheet" href="../../../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../../',
VERSION: '0.11.0-dev',
VERSION: '0.11.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
Expand All @@ -27,14 +25,14 @@
<script type="text/javascript" src="../../../_static/doctools.js"></script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="search" type="application/opensearchdescription+xml"
title="Search within MDAnalysis 0.11.0-dev documentation"
title="Search within MDAnalysis 0.11.0 documentation"
href="../../../_static/opensearch.xml"/>
<link rel="shortcut icon" href="../../../_static/mdanalysis-logo.ico"/>
<link rel="top" title="MDAnalysis 0.11.0-dev documentation" href="../../../index.html" />
<link rel="up" title="MDAnalysis" href="../../MDAnalysis.html" />
<link rel="top" title="MDAnalysis 0.11.0 documentation" href="../../../index.html" />
<link rel="up" title="Module code" href="../../index.html" />
</head>
<body>
<div class="related">
<body role="document">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
Expand All @@ -43,17 +41,16 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li><a href="../../../index.html">MDAnalysis 0.11.0-dev documentation</a> &raquo;</li>
<li><a href="../../index.html" >Module code</a> &raquo;</li>
<li><a href="../../MDAnalysis.html" accesskey="U">MDAnalysis</a> &raquo;</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">MDAnalysis 0.11.0 documentation</a> &raquo;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" accesskey="U">Module code</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../../../index.html">
<img class="logo" src="../../../_static/mdanalysis-logo-200x150.png" alt="Logo"/>
</a></p>
<div id="searchbox" style="display: none">
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="../../../search.html" method="get">
<input type="text" name="q" />
Expand All @@ -72,7 +69,7 @@ <h3>Quick search</h3>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="body" role="main">

<h1>Source code for MDAnalysis.analysis.align</h1><div class="highlight"><pre>
<span class="c"># -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding:utf-8 -*-</span>
Expand Down Expand Up @@ -146,15 +143,15 @@ <h1>Source code for MDAnalysis.analysis.align</h1><div class="highlight"><pre>

<span class="sd"> &gt;&gt;&gt; ref = Universe(PDB_small)</span>
<span class="sd"> &gt;&gt;&gt; mobile = Universe(PSF,DCD)</span>
<span class="sd"> &gt;&gt;&gt; rmsd(mobile.atoms.CA.coordinates(), ref.atoms.CA.coordinates())</span>
<span class="sd"> &gt;&gt;&gt; rmsd(mobile.atoms.CA.positions, ref.atoms.CA.positions)</span>
<span class="sd"> 18.858259026820352</span>

<span class="sd">Note that in this example translations have not been removed. In order</span>
<span class="sd">to look at the pure rotation one needs to superimpose the centres of</span>
<span class="sd">mass (or geometry) first:</span>

<span class="sd"> &gt;&gt;&gt; ref0 = ref.atoms.CA.coordinates() - ref.atoms.CA.centerOfMass()</span>
<span class="sd"> &gt;&gt;&gt; mobile0 = mobile.atoms.CA.coordinates() - mobile.atoms.CA.centerOfMass()</span>
<span class="sd"> &gt;&gt;&gt; ref0 = ref.atoms.CA.positions - ref.atoms.CA.center_of_mass()</span>
<span class="sd"> &gt;&gt;&gt; mobile0 = mobile.atoms.CA.positions - mobile.atoms.CA.center_of_mass()</span>
<span class="sd"> &gt;&gt;&gt; rmsd(mobile0, ref0)</span>
<span class="sd"> 6.8093965864717951</span>

Expand All @@ -172,9 +169,9 @@ <h1>Source code for MDAnalysis.analysis.align</h1><div class="highlight"><pre>

<span class="sd">Putting all this together one can superimpose all of *mobile* onto *ref*::</span>

<span class="sd"> &gt;&gt;&gt; mobile.atoms.translate(-mobile.atoms.CA.centerOfMass())</span>
<span class="sd"> &gt;&gt;&gt; mobile.atoms.translate(-mobile.atoms.CA.center_of_mass())</span>
<span class="sd"> &gt;&gt;&gt; mobile.atoms.rotate(R)</span>
<span class="sd"> &gt;&gt;&gt; mobile.atoms.translate(ref.atoms.CA.centerOfMass())</span>
<span class="sd"> &gt;&gt;&gt; mobile.atoms.translate(ref.atoms.CA.center_of_mass())</span>
<span class="sd"> &gt;&gt;&gt; mobile.atoms.write(&quot;mobile_on_ref.pdb&quot;)</span>


Expand All @@ -183,9 +180,9 @@ <h1>Source code for MDAnalysis.analysis.align</h1><div class="highlight"><pre>

<span class="sd">To **fit a single structure** with :func:`alignto`::</span>

<span class="sd"> &gt;&gt;&gt; ref = Universe(PSF, PDB_small)</span>
<span class="sd"> &gt;&gt;&gt; mobile = Universe(PSF, DCD) # we use the first frame</span>
<span class="sd"> &gt;&gt;&gt; alignto(mobile, ref, select=&quot;protein and name CA&quot;, mass_weighted=True)</span>
<span class="sd"> &gt;&gt;&gt; ref = Universe(PSF, PDB_small)</span>
<span class="sd"> &gt;&gt;&gt; mobile = Universe(PSF, DCD) # we use the first frame</span>
<span class="sd"> &gt;&gt;&gt; alignto(mobile, ref, select=&quot;protein and name CA&quot;, mass_weighted=True)</span>

<span class="sd">This will change *all* coordinates in *mobile* so that the protein</span>
<span class="sd">C-alpha atoms are optimally superimposed (translation and rotation).</span>
Expand Down Expand Up @@ -402,12 +399,12 @@ <h1>Source code for MDAnalysis.analysis.align</h1><div class="highlight"><pre>

<span class="k">if</span> <span class="n">mass_weighted</span><span class="p">:</span>
<span class="n">weights</span> <span class="o">=</span> <span class="n">ref_atoms</span><span class="o">.</span><span class="n">masses</span> <span class="o">/</span> <span class="n">numpy</span><span class="o">.</span><span class="n">mean</span><span class="p">(</span><span class="n">ref_atoms</span><span class="o">.</span><span class="n">masses</span><span class="p">)</span>
<span class="n">ref_com</span> <span class="o">=</span> <span class="n">ref_atoms</span><span class="o">.</span><span class="n">centerOfMass</span><span class="p">()</span>
<span class="n">mobile_com</span> <span class="o">=</span> <span class="n">mobile_atoms</span><span class="o">.</span><span class="n">centerOfMass</span><span class="p">()</span>
<span class="n">ref_com</span> <span class="o">=</span> <span class="n">ref_atoms</span><span class="o">.</span><span class="n">center_of_mass</span><span class="p">()</span>
<span class="n">mobile_com</span> <span class="o">=</span> <span class="n">mobile_atoms</span><span class="o">.</span><span class="n">center_of_mass</span><span class="p">()</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">weights</span> <span class="o">=</span> <span class="bp">None</span>
<span class="n">ref_com</span> <span class="o">=</span> <span class="n">ref_atoms</span><span class="o">.</span><span class="n">centerOfGeometry</span><span class="p">()</span>
<span class="n">mobile_com</span> <span class="o">=</span> <span class="n">mobile_atoms</span><span class="o">.</span><span class="n">centerOfGeometry</span><span class="p">()</span>
<span class="n">ref_com</span> <span class="o">=</span> <span class="n">ref_atoms</span><span class="o">.</span><span class="n">center_of_geometry</span><span class="p">()</span>
<span class="n">mobile_com</span> <span class="o">=</span> <span class="n">mobile_atoms</span><span class="o">.</span><span class="n">center_of_geometry</span><span class="p">()</span>

<span class="n">ref_coordinates</span> <span class="o">=</span> <span class="n">ref_atoms</span><span class="o">.</span><span class="n">coordinates</span><span class="p">()</span> <span class="o">-</span> <span class="n">ref_com</span>
<span class="n">mobile_coordinates</span> <span class="o">=</span> <span class="n">mobile_atoms</span><span class="o">.</span><span class="n">coordinates</span><span class="p">()</span> <span class="o">-</span> <span class="n">mobile_com</span>
Expand Down Expand Up @@ -547,7 +544,7 @@ <h1>Source code for MDAnalysis.analysis.align</h1><div class="highlight"><pre>

<span class="c"># reference centre of mass system</span>
<span class="c"># (compatibility with pre 1.0 numpy: explicitly cast coords to float32)</span>
<span class="n">ref_com</span> <span class="o">=</span> <span class="n">ref_atoms</span><span class="o">.</span><span class="n">centerOfMass</span><span class="p">()</span><span class="o">.</span><span class="n">astype</span><span class="p">(</span><span class="n">numpy</span><span class="o">.</span><span class="n">float32</span><span class="p">)</span>
<span class="n">ref_com</span> <span class="o">=</span> <span class="n">ref_atoms</span><span class="o">.</span><span class="n">center_of_mass</span><span class="p">()</span><span class="o">.</span><span class="n">astype</span><span class="p">(</span><span class="n">numpy</span><span class="o">.</span><span class="n">float32</span><span class="p">)</span>
<span class="n">ref_coordinates</span> <span class="o">=</span> <span class="n">ref_atoms</span><span class="o">.</span><span class="n">coordinates</span><span class="p">()</span> <span class="o">-</span> <span class="n">ref_com</span>

<span class="c"># allocate the array for selection atom coords</span>
Expand All @@ -569,7 +566,7 @@ <h1>Source code for MDAnalysis.analysis.align</h1><div class="highlight"><pre>
<span class="k">for</span> <span class="n">k</span><span class="p">,</span> <span class="n">ts</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">frames</span><span class="p">):</span>
<span class="c"># shift coordinates for rotation fitting</span>
<span class="c"># selection is updated with the time frame</span>
<span class="n">x_com</span> <span class="o">=</span> <span class="n">traj_atoms</span><span class="o">.</span><span class="n">centerOfMass</span><span class="p">()</span><span class="o">.</span><span class="n">astype</span><span class="p">(</span><span class="n">numpy</span><span class="o">.</span><span class="n">float32</span><span class="p">)</span>
<span class="n">x_com</span> <span class="o">=</span> <span class="n">traj_atoms</span><span class="o">.</span><span class="n">center_of_mass</span><span class="p">()</span><span class="o">.</span><span class="n">astype</span><span class="p">(</span><span class="n">numpy</span><span class="o">.</span><span class="n">float32</span><span class="p">)</span>
<span class="n">traj_coordinates</span><span class="p">[:]</span> <span class="o">=</span> <span class="n">traj_atoms</span><span class="o">.</span><span class="n">coordinates</span><span class="p">()</span> <span class="o">-</span> <span class="n">x_com</span>

<span class="c"># Need to transpose coordinates such that the coordinate array is</span>
Expand Down Expand Up @@ -1015,7 +1012,7 @@ <h1>Source code for MDAnalysis.analysis.align</h1><div class="highlight"><pre>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
Expand All @@ -1024,12 +1021,11 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li><a href="../../../index.html">MDAnalysis 0.11.0-dev documentation</a> &raquo;</li>
<li><a href="../../index.html" >Module code</a> &raquo;</li>
<li><a href="../../MDAnalysis.html" >MDAnalysis</a> &raquo;</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">MDAnalysis 0.11.0 documentation</a> &raquo;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >Module code</a> &raquo;</li>
</ul>
</div>
<div class="footer">
<div class="footer" role="contentinfo">
&copy; Copyright 2005-2015, Naveen Michaud-Agrawal, Elizabeth J. Denning, Joshua Adelman,
Christian Beckstein (logo), Alejandro Bernardin, Sébastien Buchoux,
David Caplan, Matthieu Chavent, Xavier Deupi, Jan Domański, David L. Dotson
Expand All @@ -1039,7 +1035,7 @@ <h3>Navigation</h3>
Paul Rigor, Sean L. Seyler, Andy Somogyi, Lukas Stelzl, Gorman Stock, Isaac Virshup,
Zhuyi Xue, Carlos Yáñez S.,
and Oliver Beckstein.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.
</div>
</body>
</html>
Loading

0 comments on commit de97ccc

Please sign in to comment.