You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This also makes the header written in the file inaccurate. (charges are indicated to have e/A^3 density)
header= ("1 coord [Ang] 2-7 mass density (x,sx,y,sz,z,sz) [g/cm^3]""8-13 charge density (x,sx,y,sz,z,sz) [e/A^3]\n Average ""density: {} g/cm3".format(density))
Edit: the charges are not actually in e, they're in e*(Avogadro's number). Possibly the line below is unintentional.
Expected behavior
MDAnalysis keeps consistent units of Angstrom for length, or documents when it doesn't.
Actual behavior
analysis.LinearDensity
converts volumes from A^3 to cm^3Code to reproduce the behavior
mdanalysis/package/MDAnalysis/analysis/lineardensity.py
Line 177 in 009ec22
This isn't in the docs.
Currently version of MDAnalysis
python -c "import MDAnalysis as mda; print(mda.__version__)"
)python -V
)?The text was updated successfully, but these errors were encountered: