-
Notifications
You must be signed in to change notification settings - Fork 825
Description
Expected behavior
Creating the input atomgroups (donors, hydrogens, acceptors) for hbond autocorrel should be easy/self explanatory.
Actual behavior
It is rather difficult with recurring questions on the mailing list (eg https://groups.google.com/d/msg/mdnalysis-discussion/-gwmJANsSXM/g-oD1byEFAAJ and issue tracker eg #1563), especially when it comes to water: It is not clear to most users how to generate donor and hydrogen atomgroups that correspond to each other
Three AtomGroup selections representing the hydrogens, donors and acceptors that you wish to analyse. Note that the hydrogens and donors selections must be aligned, that is hydrogens[0] and donors[0] must represent a bonded pair. If a single donor therefore has two hydrogens, it must feature twice in the donors AtomGroup.
Proposed action
Add an example to the docs that shows how to use the module with one of our test systems (e.g., with something from MDAnalysisData) and in particular, water.
Currently version of MDAnalysis
All recent (~0.18 - 0.19) versions of MDA (but really since 0.9).