Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force statistical inefficiency computation to use self.max_n_iterations #577

Merged
merged 3 commits into from
Apr 25, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openmmtools/multistate/multistateanalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ def generate_mixing_statistics(self, number_equilibrated: Union[int, None] = Non
# Compute state index statistical inefficiency of stationary data.
# states[n][k] is the state index of replica k at iteration n, but
# the functions wants a list of timeseries states[k][n].
states_kn = np.transpose(states[number_equilibrated:])
states_kn = np.transpose(states[number_equilibrated:self.max_n_iterations,])
g = timeseries.statisticalInefficiencyMultiple(states_kn)

return self._MixingStatistics(transition_matrix=t_ij, eigenvalues=mu,
Expand Down