Shortcut: CONVERT_TO_FES
Module | gridtools |
---|---|
Description | Usage |
Convert a histogram to a free energy surface. | |
output value | type |
the free energy surface | grid |
Details and examples
Convert a histogram to a free energy surface.
This action allows you to take a free energy surface that was calculated using the HISTOGRAM action and to convert it to a free energy surface. This transformation performed by doing:
The free energy calculated on a grid is output by this action and can be printed using DUMPGRID
Examples
This is a typical example showing how CONVERT_TO_FES might be used when post processing a trajectory. The input below calculates the free energy as a function of the distance between atom 1 and atom 2. This is done by accumulating a histogram as a function of this distance using kernel density estimation and the HISTOGRAM action. All the data within this trajectory is used in the construction of this HISTOGRAM. Finally, once all the data has been read in, the histogram is converted to a free energy using the formula above and the free energy is output to a file called fes.dat
xDISTANCECalculate the distance/s between pairs of atoms. More details ATOMSthe pair of atom that we are calculating the distance between=1,2 hA1HISTOGRAMAccumulate the average probability density along a few CVs from a trajectory. This action is a shortcut and it has hidden defaults. More details ARGthe quantities that are being used to construct the histogram=x GRID_MIN the lower bounds for the grid=0.0 GRID_MAX the upper bounds for the grid=3.0 GRID_BINthe number of bins for the grid=100 BANDWIDTHthe bandwidths for kernel density esimtation=0.1 : ffCONVERT_TO_FESConvert a histogram to a free energy surface. This action is a shortcut. More details ARGthe histogram that you would like to convert into a free energy surface=hA1 TEMPthe temperature at which you are operating=300 : DUMPGRIDOutput the function on the grid to a file with the PLUMED grid format. More details ARGthe label for the grid that you would like to output=ff FILE the file on which to write the grid=fes.dat:
In this example we ensure that all the reported values of the free energy are non-negative by finding the minimum in the free energy and setting reporting the free energies relative to the estimate of the value of the free energy at this minimum.
xDISTANCECalculate the distance/s between pairs of atoms. More details ATOMSthe pair of atom that we are calculating the distance between=1,2 hA1HISTOGRAMAccumulate the average probability density along a few CVs from a trajectory. This action is a shortcut and it has hidden defaults. More details ARGthe quantities that are being used to construct the histogram=x GRID_MIN the lower bounds for the grid=0.0 GRID_MAX the upper bounds for the grid=3.0 GRID_BINthe number of bins for the grid=100 BANDWIDTHthe bandwidths for kernel density esimtation=0.1 : ffCONVERT_TO_FESConvert a histogram to a free energy surface. This action is a shortcut. More details ARGthe histogram that you would like to convert into a free energy surface=hA1 TEMPthe temperature at which you are operating=300 MINTOZERO set the minimum in the free energy to be equal to zero : DUMPGRIDOutput the function on the grid to a file with the PLUMED grid format. More details ARGthe label for the grid that you would like to output=ff FILE the file on which to write the grid=fes.dat:
Full list of keywords
The following table describes the keywords and options that can be used with this action
Keyword | Type | Default | Description |
---|---|---|---|
ARG | compulsory | none | the histogram that you would like to convert into a free energy surface |
TEMP | optional | not used | the temperature at which you are operating |
MINTOZERO | optional | false | set the minimum in the free energy to be equal to zero |
deprecated keywords
The keywords in the following table can still be used with this action but have been deprecated
Keyword | Description |
---|---|
GRID | You should use ARG instead of this keyword which was used in older versions of PLUMED and is provided for back compatibility only |