Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
[doc] add changelog entry and fix msm.api.tpt api doc linkage to Reac…
Browse files Browse the repository at this point in the history
…tiveFlux.

[ci skip]
  • Loading branch information
marscher committed Oct 19, 2016
1 parent 1904268 commit 58b759d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
36 changes: 21 additions & 15 deletions doc/source/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ Changelog

**New features**:

- coordinates: for lag < chunksize improved speed (50%) for TICA. #960
- coordinates
- for lag < chunksize improved speed (50%) for TICA. #960
- new config variable "coordinates_check_output" to test for "NaN" and "inf" values in
iterator output for every chunk. The option is disabled by default. It gives insight
during debugging where faulty values are introduced into the pipeline.


**Fixes**:

- msm: low-level api removed (use msmtools for now, if you really need it). #550,

2.2.6 (9-23-16)
Expand Down Expand Up @@ -136,6 +142,7 @@ Service release. Fixes some
considerable high chunk size as well.

**Fixes**:

- In parallel environments (clusters with shared filesystem) there will be no
crashes due to the config module, which tried to write files in users home
directory. Config files are optional by now.
Expand Down Expand Up @@ -190,19 +197,18 @@ Service release. Fixes some
(reported as Warnings).

- coordinates:
- Completly re-designed class hierachy (user-code/API unaffected).
- Added trajectory info cache to avoid re-computing lengths, dimensions and
byte offsets of data sets.
- Random access strategies supported (eg. via slices).
- FeatureReader supports random access for XTC and TRR (in conjunction with mdtraj-1.6).
- Re-design API to support scikit-learn interface (fit, transform).
- Pipeline elements (former Transformer class) now uses iterator pattern to
obtain data and therefore supports now pipeline trees.
- pipeline elements support writing their output to csv files.
- TICA/PCA uses covartools to estimate covariance matrices.
- This now saves one pass over the data set.
- Supports sparsification data on the fly.

- Completely re-designed class hierachy (user-code/API unaffected).
- Added trajectory info cache to avoid re-computing lengths, dimensions and
byte offsets of data sets.
- Random access strategies supported (eg. via slices).
- FeatureReader supports random access for XTC and TRR (in conjunction with mdtraj-1.6).
- Re-design API to support scikit-learn interface (fit, transform).
- Pipeline elements (former Transformer class) now uses iterator pattern to
obtain data and therefore supports now pipeline trees.
- pipeline elements support writing their output to csv files.
- TICA/PCA uses covartools to estimate covariance matrices:
+ This now saves one pass over the data set.
+ Supports sparsification data on the fly.

**Fixes**:

Expand Down Expand Up @@ -342,7 +348,7 @@ reorganization of the code.
- coordinates package: allow metrics to be passed to cluster algorithms.
- coordinates package: cache trajectory lengths by default
(uncached led to 1 pass of reading for non indexed (XTC) formats).
This avoids re-reading e.g XTC files to determine their lengths.
This avoids re-reading e.g XTC files to determine their lengths.
- coordinates package: enable passing chunk size to readers and pipelines in API.
- coordinates package: assign_to_centers now allows all supported file formats as centers input.
- coordinates package: save_traj(s) now handles stride parameter.
Expand Down
20 changes: 7 additions & 13 deletions pyemma/msm/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ def bayesian_hidden_markov_model(dtrajs, nstates, lag, nsamples=100, reversible=
def tpt(msmobj, A, B):
r""" A->B reactive flux from transition path theory (TPT)
The returned :class:`ReactiveFlux <msmtools.flux.ReactiveFlux>` object
The returned :class:`ReactiveFlux <pyemma.msm.models.ReactiveFlux>` object
can be used to extract various quantities of the flux, as well as to
compute A -> B transition pathways, their weights, and to coarse-grain
the flux onto sets of states.
Expand All @@ -1214,29 +1214,29 @@ def tpt(msmobj, A, B):
Returns
-------
tptobj : :class:`ReactiveFlux <pyemma.msm.reactive_flux.ReactiveFlux>` object
tptobj : :class:`ReactiveFlux <pyemma.msm.models.ReactiveFlux>` object
An object containing the reactive A->B flux network
and several additional quantities, such as the stationary probability,
committors and set definitions.
See also
--------
:class:`ReactiveFlux <pyemma.msm.reactive_flux.ReactiveFlux>`
:class:`ReactiveFlux <pyemma.msm.models.ReactiveFlux>`
Reactive Flux model
.. autoclass:: pyemma.msm.reactive_flux.ReactiveFlux
.. autoclass:: pyemma.msm.models.ReactiveFlux
:members:
:undoc-members:
.. rubric:: Methods
.. autoautosummary:: pyemma.msm.reactive_flux.ReactiveFlux
.. autoautosummary:: pyemma.msm.models.ReactiveFlux
:methods:
.. rubric:: Attributes
.. autoautosummary:: pyemma.msm.reactive_flux.ReactiveFlux
.. autoautosummary:: pyemma.msm.models.ReactiveFlux
:attributes:
References
Expand Down Expand Up @@ -1282,13 +1282,6 @@ def tpt(msmobj, A, B):
By default (False), T is a transition matrix.
If set to True, T is a rate matrix.
Returns
-------
tpt: msmtools.flux.ReactiveFlux object
A python object containing the reactive A->B flux network
and several additional quantities, such as stationary probability,
committors and set definitions.
Notes
-----
The central object used in transition path theory is
Expand Down Expand Up @@ -1330,6 +1323,7 @@ def tpt(msmobj, A, B):
raise ValueError('set A or B defines more states, than given transition matrix.')

# forward committor
#msmobj.
qplus = msmana.committor(T, A, B, forward=True)
# backward committor
if msmana.is_reversible(T, mu=mu):
Expand Down

0 comments on commit 58b759d

Please sign in to comment.