Re: [AMBER] Plotting heat maps in AMBER aMD simualtions

From: Jason Swails <>
Date: Wed, 11 Dec 2013 12:52:19 -0500

On Wed, Dec 11, 2013 at 10:56 AM, filip fratev <>wrote:

> Hi all,
> Recently I asked about the progress of the aMD tutorial and the python
> script to reweight and plot the energies. Is there any progress?

Not to my knowledge. I think the people originally responsible for the aMD
implementation have moved on and may not be as regular contributors
anymore, so I'm not sure what the status of this is.

> I think that there are still some open questions, which not received clear
> answer for me:
> May ask for some very simple guide about reweighting procedure? I'd like
> one of my students to make some python script but want to be sure that use
> the correct formula and approach.

The formula for reweighting can be found in the original aMD paper, though.
 You would just need to find the weight for each point (using the output
from the aMD log). numpy provides an option to supply point weights in the
'histogram' function, which seems about as straightforward as possible.
 You could, of course, implement this in pure python, but numpy will be
much faster.


Jason M. Swails
Rutgers University
Postdoctoral Researcher
AMBER mailing list
Received on Wed Dec 11 2013 - 10:00:02 PST
Custom Search