Replies: 1 comment
-
Why the Overlap Matrix is Not SymmetricThe overlap matrix in 1. The Code ImplementationIn 608: W = self.weights()
609: O = self.N_k * (W.T @ W)2. Mathematical Explanation
Since $(W^T W){ij} = (W^T W){ji}$ but generally 3. Physical InterpretationThe matrix is designed to be row-stochastic, meaning each row sums to 1.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Good morning,
I am currently updating an old workflow for solvation free energy simulations with GROMACS that uses the old
alchemical_analysis.pytoalchemlyb. While testing alchemlyb (version 2.5.0) I realised that I get different overlap matrices, eventough I am using the same dhdl files fromgmx energy. Usingalchemical_analysis.pythe overlap matrix is symmetric (O_MBAR_alchemical-analysis.pdf) , withalchemlybon the other hand not (O_MBAR_alchemlyb.pdf). The code foralchemlybis pasted below and a zipped folder containing the dhdl.*.xvg files can be accessd here: dhdl-files.zip.I do get some information about the statistical inefficiency when decorrelating the data, if that matters.
Do you have any idea why the matrix computed with
alchemlybisn't symmetric? From my current understanding I would expect it to be. Would you revise my code snippet, eventough it is based on the tutorial on Read the Docs.Beta Was this translation helpful? Give feedback.
All reactions