entities.molecule.HBondCalculation

entities.molecule.HBondCalculation(entity)

Hydrogen bonds calculated with MDAnalysis, as the hbonds calculation

Get it with mol.calculations.hbonds(), which sets it up if needed. Rather than an attribute, the calculation writes a data object (object) with one vertex per atom, in the same order as the atoms, and one edge per hydrogen bond between the hydrogen and the acceptor. The Style HBonds node draws the edges using positions sampled from the atoms. Uses MDAnalysis.analysis.hydrogenbonds.HydrogenBondAnalysis.

Attributes

Name Description
cutoffs The cutoffs given to HydrogenBondAnalysis, from the properties
is_setup Whether hydrogen bonds are set up as the hbonds calculation
object The data object holding hydrogen bonds as edges, if created