Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Include removal of energies from Snapshots #430

Closed
wants to merge 83 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
80e03de
support for arbitrary object type
jhprinz Nov 19, 2015
206ca90
support for arbitrary object type
jhprinz Nov 19, 2015
52b5037
Merge remote-tracking branch 'upstream/master' into addmultistore
jhprinz Nov 26, 2015
666b9b7
Merge remote-tracking branch 'upstream/master' into addmultistore
jhprinz Dec 2, 2015
1f742d5
Merge remote-tracking branch 'upstream/master' into addmultistore
jhprinz Dec 19, 2015
0cbabd1
Merge remote-tracking branch 'upstream/master' into dictstore
jhprinz Dec 20, 2015
c28535c
add cv as attribute feature
jhprinz Jan 4, 2016
e7ea055
doc update
jhprinz Jan 4, 2016
5742a5c
restructuring of CV
jhprinz Jan 4, 2016
cdaa588
restructuring of CV
jhprinz Jan 4, 2016
32c274c
simplification of CV
jhprinz Jan 4, 2016
8528014
save some disk space using better object description
jhprinz Jan 4, 2016
a205425
nb updates
jhprinz Jan 4, 2016
6f60e4f
simplified has_name and unique_name parameter to subclasses
jhprinz Jan 5, 2016
4a0b3a5
simplified has_name and unique_name parameter to subclasses
jhprinz Jan 5, 2016
31d8bca
code cleanup
jhprinz Jan 6, 2016
a811815
update test_netcdfplus and fix code
jhprinz Jan 7, 2016
196dd18
undo rename
jhprinz Jan 7, 2016
0877977
fixes and cleanup
jhprinz Jan 7, 2016
e80d7ae
docstring updates
jhprinz Jan 7, 2016
548695c
docstring updates
jhprinz Jan 7, 2016
0297daa
docstring updates
jhprinz Jan 7, 2016
c571025
nb updates
jhprinz Jan 7, 2016
d799a4d
nb updates
jhprinz Jan 7, 2016
cfa6f85
more docs
jhprinz Jan 7, 2016
0e5ffd2
fix nb tests
jhprinz Jan 7, 2016
92b1220
Merge branch 'newnaming' into netcdfdocs
jhprinz Jan 7, 2016
00f348c
fix all sphinx errors
jhprinz Jan 7, 2016
ca8dfe7
add guides .md files
jhprinz Jan 7, 2016
bfb271b
fix errors as far as possible
jhprinz Jan 8, 2016
9f33465
fix errors as far as possible
jhprinz Jan 8, 2016
20cb9d8
doc updates
jhprinz Jan 8, 2016
c7880b6
Merge branch 'newnaming' into engine_cv
jhprinz Jan 12, 2016
e3728c9
merge corrections
jhprinz Jan 12, 2016
ac68339
Merge branch 'master' of github.com:choderalab/openpathsampling into …
jhprinz Jan 19, 2016
7b966dd
Merge branch 'dictstore' into newnaming
jhprinz Jan 19, 2016
5bbc9c5
Merge branch 'addvariablestore' into newnaming
jhprinz Jan 19, 2016
dbfa6a1
Merge branch 'dictstore' into newnaming
jhprinz Jan 19, 2016
8156075
nb updates
jhprinz Jan 19, 2016
6934579
update docstring of base.py
jhprinz Jan 20, 2016
316251d
Merge branch 'master' of github.com:choderalab/openpathsampling into …
jhprinz Jan 20, 2016
4fe3b3c
Merge branch 'newnaming' into netcdfdocs
jhprinz Jan 20, 2016
1628887
toward better features
jhprinz Jan 20, 2016
337b620
compile __init__ and create_reversed
jhprinz Jan 21, 2016
d4d6c66
get features to work
jhprinz Jan 22, 2016
88a55cc
Merge branch 'dictstore' into newnaming
jhprinz Jan 22, 2016
71ef649
nb updates
jhprinz Jan 22, 2016
e908ea3
Merge branch 'newnaming' into netcdfdocs
jhprinz Jan 22, 2016
76ebe2c
cleanup of Snapshot constructor calling
jhprinz Jan 22, 2016
cf24ccd
speed up storage tests by simplifying topology
jhprinz Jan 22, 2016
88554e2
fixing nb
jhprinz Jan 22, 2016
ee6baf6
fixing nb
jhprinz Jan 22, 2016
2bd31be
Merge branch 'master' of github.com:choderalab/openpathsampling into …
jhprinz Jan 22, 2016
a712ea8
revert error in test
jhprinz Jan 22, 2016
07c7e84
remove necessity of is_reversed flag
jhprinz Jan 23, 2016
ecc6a26
add engine feature
jhprinz Jan 23, 2016
d7229cb
fix imports
jhprinz Jan 23, 2016
3db275c
Merge branch 'dictstore' into newnaming
jhprinz Jan 23, 2016
55eda01
Merge branch 'newnaming' into netcdfdocs
jhprinz Jan 23, 2016
3a2b3ce
Merge branch 'netcdfdocs' into features
jhprinz Jan 23, 2016
0451279
better docstring generation
jhprinz Jan 25, 2016
3909347
undo renaming of units_from_snapshot
jhprinz Jan 25, 2016
ca78a5b
Merge branch 'master' of github.com:choderalab/openpathsampling into …
jhprinz Jan 25, 2016
1fc608b
Merge branch 'master' of github.com:choderalab/openpathsampling into …
jhprinz Jan 25, 2016
d94868a
Merge branch 'newnaming' into features
jhprinz Jan 25, 2016
44bb163
improve automatic docstring generation
jhprinz Jan 25, 2016
7d271e0
add feature shared for later
jhprinz Jan 25, 2016
09925a9
cleanup of snapshot_content
jhprinz Jan 25, 2016
ebee5c8
cleanup of snapshot_content
jhprinz Jan 25, 2016
8a86598
cleanup
jhprinz Jan 25, 2016
5a5cd97
Merge branch 'engine_cv' into featureengine
jhprinz Jan 25, 2016
e92d6c2
cleanup
jhprinz Jan 25, 2016
933669b
move Configuration and Momentum to features
jhprinz Jan 25, 2016
6b99c2b
docstring updates
jhprinz Jan 28, 2016
a3157fb
docstring updates
jhprinz Jan 28, 2016
ccdab74
code fixes
jhprinz Jan 28, 2016
3914c50
code fixes
jhprinz Jan 28, 2016
1a6c1ec
fix nosetests for removed function
jhprinz Jan 28, 2016
ea0ba27
fix nb
jhprinz Jan 28, 2016
df8b3f1
fix nb
jhprinz Jan 28, 2016
a7eb820
fix nb
jhprinz Jan 28, 2016
5529f43
fix nb
jhprinz Jan 28, 2016
297ec0b
fix nb
jhprinz Jan 28, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/Makefile
Expand Up @@ -2,7 +2,6 @@
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
Expand Down Expand Up @@ -46,6 +45,9 @@ help:
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"

rmapi:
rm -rf api/

clean:
rm -rf $(BUILDDIR)/*

Expand Down
8 changes: 8 additions & 0 deletions docs/api.rst
Expand Up @@ -68,3 +68,11 @@ Snapshot

.. automodule:: snapshot
:members:

**********
Trajectory
**********

.. automodule:: trajectory
:members:

9 changes: 5 additions & 4 deletions docs/collectivevariable.rst
Expand Up @@ -4,8 +4,7 @@

CollectiveVariable Functions
============================

:class:`openpathsampling.CollectiveVariables`
:class:`openpathsampling.CollectiveVariable`

>>> import openpathsampling as paths
>>> mover = paths.CollectiveVariable()
Expand All @@ -31,9 +30,11 @@ mdtraj orderparamters
.. autosummary::
:toctree: api/generated/

CV_MD_Function
CV_MDTraj_Function

msmbuilder3 collectivevariables
-------------------------------
.. autosummary::
:toctree: api/generated/

CV_Featurizer
CV_MSMB_Featurizer
31 changes: 16 additions & 15 deletions docs/conf.py
Expand Up @@ -42,24 +42,25 @@
'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
'sphinx.ext.ifconfig',
'IPython.sphinxext.ipython_console_highlighting',
'IPython.sphinxext.ipython_directive',
'matplotlib.sphinxext.plot_directive',
'numpydoc'
# ,'sphinxcontrib.napoleon'
# 'IPython.sphinxext.ipython_console_highlighting',
# 'IPython.sphinxext.ipython_directive',
# 'matplotlib.sphinxext.plot_directive',
# 'numpydoc'
# 'sphinxcontrib.napoleon'
'sphinx.ext.napoleon'
]

# Napoleon settings
#napoleon_google_docstring = False
#napoleon_numpy_docstring = True
#napoleon_include_private_with_doc = False
#napoleon_include_special_with_doc = False
#napoleon_use_admonition_for_examples = False
#napoleon_use_admonition_for_notes = True
#napoleon_use_admonition_for_references = False
#napoleon_use_ivar = False
#napoleon_use_param = True
#napoleon_use_rtype = True
napoleon_google_docstring = False
napoleon_numpy_docstring = True
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = True
napoleon_use_admonition_for_examples = False
napoleon_use_admonition_for_notes = False
napoleon_use_admonition_for_references = False
napoleon_use_ivar = False
napoleon_use_param = True
napoleon_use_rtype = True

# add pandoc directives
pandoc_from = ['markdown', 'mediawiki']
Expand Down
2 changes: 1 addition & 1 deletion docs/engine.rst
Expand Up @@ -13,7 +13,7 @@ engine basic
.. autosummary::
:toctree: api/generated/

DynamicsEngine
DynamicsEngine

.. currentmodule:: openpathsampling.openmm_engine

Expand Down
82 changes: 68 additions & 14 deletions docs/ensemble.rst
Expand Up @@ -19,32 +19,86 @@ where you choose the right kind of ensemble and give it the right
initialization parameters. What's more, ensembles can be combined using the
logical infix operators `&` (and) and `|` (or).

Abstract class
--------------

.. autosummary::
:toctree: api/generated/

Ensemble

Basic Ensembles
---------------
.. autosummary::
:toctree: api/generated/

EmptyEnsemble
FullEnsemble

Volume Ensembles
----------------
.. autosummary::
:toctree: api/generated/

VolumeEnsemble
AllInXEnsemble
AllOutXEnsemble
VolumeEnsemble
AllInXEnsemble
AllOutXEnsemble
PartInXEnsemble
PartOutXEnsemble

PartOutXEnsemble
EntersXEnsemble
ExitsXEnsemble

Set-based Ensemble combinations
-------------------------------
.. autosummary::
:toctree: api/generated/

IntersectionEnsemble
UnionEnsemble
SymmetricDifferenceEnsemble
RelativeComplementEnsemble
EnsembleCombination

length Ensembles
IntersectionEnsemble
UnionEnsemble
SymmetricDifferenceEnsemble
RelativeComplementEnsemble
EnsembleCombination
NegatedEnsemble


Length specific Ensembles
-------------------------
.. autosummary::
:toctree: api/generated/

LengthEnsemble
SingleFrameEnsemble
OptionalEnsemble

Trajectory Altering Ensembles
-----------------------------

.. autosummary::
:toctree: api/generated/

ReversedTrajectoryEnsemble
SuffixTrajectoryEnsemble
PrefixTrajectoryEnsemble
WrappedEnsemble

Sequential Ensembles
--------------------
.. autosummary::
:toctree: api/generated/

SequentialEnsemble

TIS-specific Ensembles
----------------------
.. autosummary::
:toctree: api/generated/

TISEnsemble
MinusInterfaceEnsemble

Ensemble Functions
------------------
.. autosummary::
:toctree: api/generated/

LengthEnsemble

join_ensembles
1 change: 0 additions & 1 deletion docs/examples/index.rst
Expand Up @@ -23,7 +23,6 @@ examples and the notebooks are available in the top level
:maxdepth: 3
:glob:

introduction
*

Let us know if you would like to contribute other example notebooks, or have
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started.rst
Expand Up @@ -19,7 +19,7 @@ We recommend using `conda` to install OpenPathSampling. `conda
scientific python. Unlike ``easy_install`` or ``pip``, it handles binaries
and binary dependencies, which are critical for most scientific workflows.
If you're a ``conda`` user, you can install OpenPathSampling by adding the
omnia channel. ::
omnia channel.

To install the most recent release of OpenPathSampling with conda, use the
following commands ::
Expand Down
File renamed without changes.
31 changes: 31 additions & 0 deletions docs/guides/index.rst
@@ -0,0 +1,31 @@
.. _guides:

Guides to OpenPathSampling
==========================

This section contains larger texts that discuss more detailed the works of OpenPathSampling.

.. markdown:: docs/guides/user_levels.md


For Beginners
-------------

.. markdown:: docs/guides/absolute_beginners.md


For advanced users
------------------

.. markdown:: docs/guides/power_users.md


Topics
======

This part covers discussions about various topics.


Ensembles vs Volumes
--------------------

File renamed without changes.
File renamed without changes.
46 changes: 24 additions & 22 deletions docs/index.rst
Expand Up @@ -13,46 +13,48 @@ Documentation
-------------

.. toctree::
:maxdepth: 2
:maxdepth: 2

getting_started
examples/index
whatsnew
faq
Discussion Forums <http://discourse.openpathsampling.org>
getting_started
examples/index
guides/index
whatsnew
faq
Discussion Forums <http://discourse.openpathsampling.org>

API Reference
-------------

.. toctree::
:maxdepth: 1

core
collectivevariable
volume
ensemble
shooting
pathmover
pathsimulator
engine
storage
:maxdepth: 1

collectivevariable
volume
ensemble
shooting
pathmover
pathsimulator
engine
storage
treemixin
trajectory

Developing
----------

.. toctree::
:maxdepth: 1
:maxdepth: 1

netcdf_format
api
netcdfplus/index
api

README
------

.. toctree::
:maxdepth: 1
:maxdepth: 1

readme
readme

--------------------------------------------------------------------------------

Expand Down
13 changes: 0 additions & 13 deletions docs/netcdf_format.rst

This file was deleted.

17 changes: 17 additions & 0 deletions docs/netcdfplus/base.rst
@@ -0,0 +1,17 @@
.. _base:

.. currentmodule:: openpathsampling.netcdfplus.base

Base Functions
==============


mixins for storable objects
---------------------------

.. autosummary::
:toctree: api/generated/

StorableObject
StorableNamedObject

17 changes: 17 additions & 0 deletions docs/netcdfplus/cache.rst
@@ -0,0 +1,17 @@
.. _cache:

.. currentmodule:: openpathsampling.netcdfplus.cache

Caching Functions
=================

.. autosummary::
:toctree: api/generated/

WeakKeyCache
WeakLRUCache
WeakValueCache
MaxCache
NoCache
Cache
LRUCache
12 changes: 12 additions & 0 deletions docs/netcdfplus/dictify.rst
@@ -0,0 +1,12 @@
.. _dictify:

.. currentmodule:: openpathsampling.netcdfplus.dictify

JSON Serialization Functions
============================

.. autosummary::
:toctree: api/generated/

ObjectJSON
StorableObjectJSON