Replies: 1 comment
-
So, you observables are fundamentally a 1d matrix - even if you are looking at an observable for 3 dimensions x N molecules, that's a 1D observable of length 3N. The second dimension is if that observable differs depending on the state. The energy changes depending on the state - observables depending only on the coordinates do not depend on state. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear community,
I am revisiting my old scripts (https://github.com/choderalab/pymbar-datasets/blob/master/gas-properties), so they can work with Pymbar v4.0. As I am starting to investigate the differences, I noticed that one error I am getting is the same that occurs when I try to run the harmonic-oscillators.py example with
observe = "RMS displacement"
. The error is the following:Could anyone provide some guidance on how to tackle this? Since the RMS_displacement is inherently a 3D matrix, I could not find a solution to convert it to a 2D array as required to run
results = mbar.compute_expectations(A_kn)
. Any help would be much appreciated!Beta Was this translation helpful? Give feedback.
All reactions