Skip to content

Generalize the water MSD calculation function to any molecule.  #2438

@sperezconesa

Description

@sperezconesa

Is your feature request related to a problem? Please describe.
The module to calculate the MSD of water molecules (from MDAnalysis.analysis.waterdynamics import MeanSquareDisplacement as MSD) is very flexible and good. But it only works for water molecules (or three-atomed molecules).

Describe the solution you'd like
I would like to be able to call a function like the one for water molecules but that it calculates the MSD for any type of molecule using the coordinate of one of its atoms or its center of mass.

Describe alternatives you've considered
I have programed this on a non-MDAnalysis style and non-object oriented way. I think such a good library as MDAnalysis should have a more general MSD calculation module since it is a very basic property of a system.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions