newanalysis.diffusion.msdMJ

newanalysis.diffusion.msdMJ(coms_cat, coms_an, maxlen=None, charge_cat=None, charge_an=None)

Takes two center-of-mass arrays of the whole unfolded trajectory, one for cations, the other for anions.

Usage:

msdmj = msdMJ(coms_cat, coms_an)