Closed VOD555 closed 4 years ago
Given https://github.com/MDAnalysis/mdanalysis/blob/3d952829949a5e67682fa387f9945e0b1ed6319e/package/MDAnalysis/analysis/rdf.py#L343-L352 this also seems to be incorrect in MDAnalysis.analysis.rdf – please raise an issue there!
Expected behaviour
Give correct single-atom to single-atom RDF when given 'density=True'.
Actual behaviour
The rdf will be 1/N of the correct value. Where N = nA * nB, and nA, nB are the number of atoms in atomgroup A and atomgroup B.
Code to reproduce the behaviour
Currently version of PMDA:
0.2.1