Skip to content

Commit

Permalink
Beginnings of new topology docs (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotsdl authored and richardjgowers committed Jan 26, 2017
1 parent dad6b32 commit 6b8c66d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
7 changes: 3 additions & 4 deletions package/doc/sphinx/source/documentation_pages/overview.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _overview-label:

==========================
Overview over MDAnalysis
==========================
Expand Down Expand Up @@ -134,10 +136,7 @@ as described in :ref:`selection-commands-label`.
Examples
========

The easiest way to get started with MDAnalysis is to read this
introduction and the chapter on :ref:`selection-commands-label` and then
explore the package interactively in IPython_ or another interactive
Python interpreter.
The easiest way to get started with MDAnalysis is to read this introduction and the chapters on :ref:`topology-label` and :ref:`selection-commands-label`, then explore the package interactively in IPython_ or another interactive Python interpreter.

Included trajectories
---------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.. _selection-commands-label:

====================
Selection Commands
Selection commands
====================

Once you have the :meth:`~MDAnalysis.core.universe.Universe` object, you can
Expand Down
15 changes: 15 additions & 0 deletions package/doc/sphinx/source/documentation_pages/topology.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.. -*- coding: utf-8 -*-
.. _topology-label:

=====================
The topology system
=====================

As shown briefly in :ref:`overview-label`, the :class:`~MDAnalysis.core.universe.Universe` class is the primary object and core interface to molecular dynamics data in MDAnalysis.
When loading topology information from a file, as with ::

>>> from MDAnalysis import Universe
>>> from MDAnalysis.tests.datafiles import PSF
>>> u = Universe(PSF)

the file is read, the contents parsed, and a :class:`~MDAnalysis.core.topology.Topology` object is constructed from these contents.
1 change: 1 addition & 0 deletions package/doc/sphinx/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Contents
:numbered:

./documentation_pages/overview
./documentation_pages/topology
./documentation_pages/selections
./documentation_pages/analysis_modules
./documentation_pages/topology_modules
Expand Down

0 comments on commit 6b8c66d

Please sign in to comment.