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
orbeckst
changed the title
Dihedral analysis should use dimensions from separate universes
Does Dihedral analysis use dimensions from separate universes?
Sep 8, 2022
@orbeckst In _single_frame it's looking at stuff from a single universe, I just split in into 4 EnsembleAtomGroups. At the beginning _reorg_groups takes the given dihedral selections and makes 4 EnsembleAtomGroups each just containing the one atoms of each dihedral in the inputted dihedrals. This done for efficiency (I think I found that it was slower in my report) since we could do the dihedral calculations together with only one call to Cython. One of the functions called in __init__ ensures the passed in list is all from the same Ensemble. I don't think this is an issue.
It looks as if DihedralAnalysis takes a short cut and only uses the dimensions of the first ensemble member:
MDPOW/mdpow/analysis/dihedral.py
Lines 102 to 103 in 2092cfd
This can lead to wrong results. Instead, the calculations need to be done for each universe separately.
The text was updated successfully, but these errors were encountered: