Skip to content
Discussion options

You must be logged in to vote

Dear Megha,
This is a fair question, the workflow for this is a little complicated.
abf_integrate will only integrate a single gradient grid, it won't integrate all the time steps stored in a history file. The good news is that history files are just concatenated grid files, so you can split the hist.grad file and process each of the fragments with abf_integrate then concatenate the resulting free energy files.
Once you have a history file, the simplest way to look at convergence is with this script:

import colvars_grid as cvg
import matplotlib.pyplot as plt

pmf_traj = cvg.colvars_grid('mysim.hist.pmf')
plt.plot(pmf_traj.convergence())

This uses the Python module found here:
https://git…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jhenin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #702 on October 28, 2024 18:29.