So in principle, if I'm working with one CV (an angle CV in my case) the following should give me similar results:
plumed sum_hills --hills HILLS --negbias --outfile negative_bias.dat --spacing XXX --min YYY --max ZZZ
plumed sum_hills --histo HILLS --spacing XXX --min YYY --max ZZZ --kt 2.577483 --sigma AAA --outhisto correction.dat
Using HISTOGRAM and CONVERT_TO_FES:
angle: READ FILE=COLVAR VALUES=angle IGNORE_FORCES IGNORE_TIME
metad: METAD ARG=ang PACE=1 HEIGHT=1.5 SIGMA=0.03 FILE=HILLS GRID_MIN=YYY GRID_MAX=ZZZ GRID_SPACING=XXX BIASFACTOR=BBB TEMP=310.0 REWEIGHTING_NGRID=CCC REWEIGHTING_NHILLS=50
bias: REWEIGHT_METAD ARG=metad.rbias TEMP=310
histo: HISTOGRAM ARG=angle GRID_MIN=YYY GRID_MAX=ZZZ GRID_SPACING=XXX BANDWIDTH=DDD LOGWEIGHTS=bias
fes: CONVERT_TO_FES GRID=histo TEMP=310.0
Now, in practice these two approaches give me slightly different profiles.
Also the free energy scale is different - for example the first method gives a minimum free energy of -350 kJ/mol while the second one -20 kJ/mol.
Is there something wrong with my usage of sum_hills and HISTOGRAM/CONVERT_TO_FES?
Could the reason be that my simulation is not converged yet?
Cheers,
Gal.