Pmf-integrate: Difference between revisions

From PMFLib Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:
Navigation: [[Documentation]] / [[Utilities]] / [[pmf-integrate]]
Navigation: [[Documentation]] / [[Utilities]] / [[pmf-integrate]]
----
----
<div style="text-align: center">pmf-integrate: version 6.380.1d87074 (2021-07-26 16:36)</div>'''Name'''
<div style="text-align: center">pmf-integrate: version 6.1090.a7cf688 (2026-06-18 21:15)</div>'''Name'''


<span style="margin-left: 15px;">pmf-integrate</span>
<span style="margin-left: 15px;">pmf-integrate</span>
Line 8: Line 8:
'''Synopsis'''
'''Synopsis'''


<span style="color: maroon; margin-left: 15px;">pmf-integrate</span> <span style="color: blue;">[OPTIONS]</span> [--] <span style="color: purple;">accuname fename [fullfename]</span>
<span style="color: maroon; margin-left: 15px;">pmf-integrate</span> <span style="color: blue;">[OPTIONS]</span> [--] <span style="color: purple;">ACCU</span> <span style="color: purple;">ENE</span>


'''Description'''
'''Description'''
Line 16: Line 16:
'''Arguments'''
'''Arguments'''


<div style="margin-left: 2em;"><span style="color: darkcyan;"><span style="font-style: bold;">accuname</span></span>                   Name of file containing the ABF accumulator. If the name is '-' then the accumulator is read from the standard input.<br /><span style="color: darkcyan;"><span style="font-style: bold;">fename</span></span>                     Name of file where the resulting free energy surface will be printed. If the name is '-' then the output will be written to the standard output.<br /><span style="color: darkcyan;"><span style="font-style: bold;">fullfename</span></span>                Optional name of file with free energy surface containing all regions (sampled and unsampled).</div>
{| style="margin-left: 2em; width: 95%;"
|- style="vertical-align: top; background-color: #e6e6e6;"
| <span style="color: purple;">ACCU</span><br/><div style="margin-left: 30px;">Name of the file containing the input PMF accumulator.</div>
|- style="vertical-align: top;"
| <span style="color: purple;">ENE</span><br/><div style="margin-left: 30px;">Name of file where the resulting energy surface will be printed. If the name is '-' then the output will be written to the standard output.</div>
|}


'''Options'''
'''Options'''
Line 22: Line 27:
{| style="margin-left: 2em; width: 95%;"
{| style="margin-left: 2em; width: 95%;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-r, --realm NAME</span><br/><div style="margin-left: 30px;">Intended output from the integration:<br />**  dG    - free energy (default)<br />** -TdS    - entropy contribution to the free energy<br />**  dG_p  - free energy (potential part) - ABF<br />**  dG_k  - free energy (kinetic part) - ABF<br />** -TdS_PP - entropy contribution to the free energy, cov(dH_p/dx,Epot) - ABF<br />** -TdS_PK - entropy contribution to the free energy, cov(dH_p/dx,Ekin) - ABF<br />** -TdS_PR - entropy contribution to the free energy, cov(dH_p/dx,Erst) - ABF<br />** -TdS_KP - entropy contribution to the free energy, cov(dH_k/dx,Epot) - ABF<br />** -TdS_KK - entropy contribution to the free energy, cov(dH_k/dx,Ekin) - ABF<br />** -TdS_KR - entropy contribution to the free energy, cov(dH_k/dx,Erst) - ABF<br />** -TdS_HP - entropy contribution to the free energy, cov(dH/dx,Epot) - CST<br />** -TdS_HK - entropy contribution to the free energy, cov(dH/dx,Ekin) - CST<br />** -TdS_HR - entropy contribution to the free energy, cov(dH/dx,Erst) - CST</div><span style="color:purple; margin-left: 30px;">(Default: dG)</span>
|<span style="color: blue;">-r, --realm NAME</span><br/><div style="margin-left: 30px;">Requested realm for the integration. The list of supported realms can be obtained by --listrealms.</div><span style="color:purple; margin-left: 30px;">(Default: dA/dx)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">-m, --method NAME</span><br/><div style="margin-left: 30px;">Integration method. Supported methods are: rfd (reverse finite differences via csparse), rbf (radial basis functions), and gpr (gaussian process).</div><span style="color:purple; margin-left: 30px;">(Default: rfd)</span>
|<span style="color: blue;">--listrealms</span><br/><div style="margin-left: 30px;">List supported realms.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--emethod NAME</span><br/><div style="margin-left: 30px;">Integration method for energy cut-off. Supported methods are: rfd (reverse finite differences via csparse), rbf (radial basis functions), and gpr (gaussian process).</div><span style="color:purple; margin-left: 30px;">(Default: rfd)</span>
|<span style="color: blue;">-m, --method NAME</span><br/><div style="margin-left: 30px;">Integration method. Supported methods are: rfd (reverse finite differences via csparse), rbf (radial basis functions), and gpr (Gaussian process).</div><span style="color:purple; margin-left: 30px;">(Default: rfd)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">-a, --lmethod NAME</span><br/><div style="margin-left: 30px;">Linear algebra method for LLS solution or matrix inversion. Supported algorithms are: default, svd (SVD - singular value decomposition, divide and conquer driver), svd2 (SVD - singular value decomposition, simple driver), qr (QR factorization), lu (LU factorization), ll (LL - Cholesky factorization). Possible combinations are: RFD(LU,default), RBF(QR,SVD,default), and GPR(LU,SVD,SVD2,LL,default).</div><span style="color:purple; margin-left: 30px;">(Default: default)</span>
|<span style="color: blue;">--emethod NAME</span><br/><div style="margin-left: 30px;">Integration method for the energy cut-off. Supported methods are: rfd (reverse finite differences via csparse), rbf (radial basis functions), and gpr (Gaussian process).</div><span style="color:purple; margin-left: 30px;">(Default: rfd)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--rcond NUMBER</span><br/><div style="margin-left: 30px;">RBF+GPR: Rank condition for SVD. Used value must be carefully tested. Calculation at computer precision is requested with -1 (not recommended).</div><span style="color:purple; margin-left: 30px;">(Default: 1e-06)</span>
|<span style="color: blue;">-a, --lmethod NAME</span><br/><div style="margin-left: 30px;">Linear algebra method for LLS solution or matrix inversion. Supported algorithms are: default, svd (SVD - singular value decomposition, divide-and-conquer driver), svd2 (SVD - singular value decomposition, simple driver), qr (QR factorization), lu (LU factorization), ll (LL - Cholesky factorization). Possible combinations are: RFD(LU, default), RBF(QR, SVD, default), and GPR(LU, SVD, SVD2, LL, default).</div><span style="color:purple; margin-left: 30px;">(Default: default)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">-l, --limit NUMBER</span><br/><div style="margin-left: 30px;">Only bins containing more samples than NUMBER are considered as properly sampled.</div><span style="color:purple; margin-left: 30px;">(Default: 100)</span>
|<span style="color: blue;">--rcond NUMBER</span><br/><div style="margin-left: 30px;">RBF+GPR: Rank condition for SVD. The selected value must be carefully tested. Calculation at computer precision is requested with -1 (not recommended).</div><span style="color:purple; margin-left: 30px;">(Default: 1e-06)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--skipfftest</span><br/><div style="margin-left: 30px;">Skip flood fill test for discontinuous regions.</div>
|<span style="color: blue;">-l, --limit NUMBER</span><br/><div style="margin-left: 30px;">Only bins containing more samples than NUMBER are considered properly sampled.</div><span style="color:purple; margin-left: 30px;">(Default: 1000)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">-q, --energylimit NUMBER</span><br/><div style="margin-left: 30px;">Integrate data only if the free energy is below NUMBER. This limit enforces two integration runs. Negative value disables the limit.</div><span style="color:purple; margin-left: 30px;">(Default: -1)</span>
|<span style="color: blue;">--skipfftest</span><br/><div style="margin-left: 30px;">Skip flood-fill test for discontinuous regions.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-q, --energylimit NUMBER</span><br/><div style="margin-left: 30px;">Integrate data only if the free energy is below NUMBER. This limit enforces two integration runs. A negative value disables the limit.</div><span style="color:purple; margin-left: 30px;">(Default: -1)</span>
|- style="vertical-align: top;"
|<span style="color: blue;">--rmnegene</span><br/><div style="margin-left: 30px;">Remove regions with negative free energy.</div>
|<span style="color: blue;">--rmnegene</span><br/><div style="margin-left: 30px;">Remove regions with negative free energy.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--skiplastelimit</span><br/><div style="margin-left: 30px;">Skip energy limit filtering after the final integration.</div>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--skiplastelimit</span><br/><div style="margin-left: 30px;">Skip energy limit filter after final integration.</div>
|<span style="color: blue;">--mfmaxzscore NUMBER</span><br/><div style="margin-left: 30px;">RBF+GPR: Reject mean forces whose prediction errors have a z-score above NUMBER. It is assumed that mean force errors have zero mean and follow a normal distribution. This limit is applied in each pass. A negative value disables the limit.</div><span style="color:purple; margin-left: 30px;">(Default: -1)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--mfmaxzscore NUMBER</span><br/><div style="margin-left: 30px;">RBF+GPR: Reject mean forces whose errors in prediction have z-score above NUMBER. In the test, it is assumend that mean force errors have zero mean and they follow normal distribution. This limit is aplied in the each pass. Negative value disables the limit.</div><span style="color:purple; margin-left: 30px;">(Default: -1)</span>
|<span style="color: blue;">--mfnumofztests NUMBER</span><br/><div style="margin-left: 30px;">RBF+GPR: Repeat the z-score test for mean force errors NUMBER times.</div><span style="color:purple; margin-left: 30px;">(Default: 1)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--mfnumofztests NUMBER</span><br/><div style="margin-left: 30px;">RBF+GPR: Repeat z-score test for mean force errrors NUMBER times.</div><span style="color:purple; margin-left: 30px;">(Default: 1)</span>
|<span style="color: blue;">-s, --sigmaf2 NUMBER</span><br/><div style="margin-left: 30px;">GPR: Variance of the reconstructed free energy surface (signal variance).</div><span style="color:purple; margin-left: 30px;">(Default: 15.0)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-s, --sigmaf2 NUMBER</span><br/><div style="margin-left: 30px;">GPR: Variance of the reconstructed free energy surface (signal variance).</div><span style="color:purple; margin-left: 30px;">(Default: 15)</span>
|<span style="color: blue;">-w, --wfac SPEC</span><br/><div style="margin-left: 30px;">RBF+GPR: Factors influencing widths of RBFs or squared exponential kernels. The width is the distance between adjacent squared exponential functions, multiplied by these factors, in the form WFac1[xWFac2x...]. The last value pads the rest.</div><span style="color:purple; margin-left: 30px;">(Default: 3.0)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">-c, --ncorr NUMBER</span><br/><div style="margin-left: 30px;">GPR: Number of statistically correlated samples.</div><span style="color:purple; margin-left: 30px;">(Default: 1)</span>
|<span style="color: blue;">-n, --sigman2 SPEC</span><br/><div style="margin-left: 30px;">GPR: Values of noise sigma squared for each CV, in the form SigmaN2(1)[xSigmaN2(2)x...]. The last value pads the rest.</div><span style="color:purple; margin-left: 30px;">(Default: 0.0)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-w, --wfac SPEC</span><br/><div style="margin-left: 30px;">RBF+GPR: Factors influencing widths of RBFs or square exponential kernels. The width is distance between the adjacent square exponential functions multiplied by this factors in the form WFac1[xWFac2x...]. The last value pads the rest.</div><span style="color:purple; margin-left: 30px;">(Default: 3.0)</span>
|<span style="color: blue;">--loadhyprms NAME</span><br/><div style="margin-left: 30px;">GPR: Name of file containing GPR hyperparameters.</div>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--loadhyprms NAME</span><br/><div style="margin-left: 30px;">GPR: Name of file with GPR hyperparameters.</div>
|<span style="color: blue;">-t, --rfac SPEC</span><br/><div style="margin-left: 30px;">RBF: Reduction factor for the number of RBFs. The number of RBFs in a given direction is the number of bins in that direction divided by this factor, in the form RFac1[xRFac2x...]. The last value pads the rest.</div><span style="color:purple; margin-left: 30px;">(Default: 1.0)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-t, --rfac SPEC</span><br/><div style="margin-left: 30px;">RBF: Reduction factor for number of RBFs. Number of RBFs in given direction is number of bins in that direction divided by this factor in the form RFac1[xRFac2x...]. The last value pads the rest.</div><span style="color:purple; margin-left: 30px;">(Default: 1.0)</span>
|<span style="color: blue;">-g, --overhang NUMBER</span><br/><div style="margin-left: 30px;">RBFs overhang to properly integrate areas near sampled edges. Ignored for periodic CVs.</div><span style="color:purple; margin-left: 30px;">(Default: 2)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">-g, --overhang NUMBER</span><br/><div style="margin-left: 30px;">RBFs overhang to properly integrate areas near sampled edges. Ignored for periodic CVs.</div><span style="color:purple; margin-left: 30px;">(Default: 2)</span>
|<span style="color: blue;">--includeglued</span><br/><div style="margin-left: 30px;">RBF+GPR: Explicitly include glued regions. This option is set ON when --glueing > 0.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--includeglued</span><br/><div style="margin-left: 30px;">RBF+GPR: Explicitly include glued regions. This options is set ON when --glueing > 0.</div>
|<span style="color: blue;">--glueing NUMBER</span><br/><div style="margin-left: 30px;">RBF+GPR: Calculate energy also for unsampled bins in close vicinity to sampled ones.</div><span style="color:purple; margin-left: 30px;">(Default: 0)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--glueing NUMBER</span><br/><div style="margin-left: 30px;">RBF+GPR: Calculate energy also for unsampled bins in close vicinity to sampled ones.</div><span style="color:purple; margin-left: 30px;">(Default: 0)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--glueholes</span><br/><div style="margin-left: 30px;">RBF+GPR: Calculate energy also for unsampled regions inside the FES.</div>
|<span style="color: blue;">--glueholes</span><br/><div style="margin-left: 30px;">RBF+GPR: Calculate energy also for unsampled regions inside the FES.</div>
|- style="vertical-align: top;"
|<span style="color: blue;">-p, --periodic</span><br/><div style="margin-left: 30px;">RFD: Switch on periodicity for collective variables that are periodic.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--globalmin SPEC</span><br/><div style="margin-left: 30px;">RBF+GPR: position of global minimum provided as a single string in the form CV1xCV2x...xCVn (relevant for error determination), if not set the position is determined automatically.</div>
|<span style="color: blue;">-p, --periodic</span><br/><div style="margin-left: 30px;">RFD: Enable periodicity for collective variables that are periodic.</div>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--userealglbmin</span><br/><div style="margin-left: 30px;">RBF+GPR: ignore --globalmin in the final integration step</div>
|<span style="color: blue;">--globalmin SPEC</span><br/><div style="margin-left: 30px;">RFD+RBF+GPR: Position of the global minimum provided as a single string in the form CV1xCV2x...xCVn (relevant for error determination). If not set, the position is determined automatically.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-o, --offset NUMBER</span><br/><div style="margin-left: 30px;">Specify an integration constant.</div><span style="color:purple; margin-left: 30px;">(Default: 0)</span>
|<span style="color: blue;">-o, --offset NUMBER</span><br/><div style="margin-left: 30px;">Specify an integration constant.</div><span style="color:purple; margin-left: 30px;">(Default: 0)</span>
Line 74: Line 79:
|<span style="color: blue;">-e, --witherror</span><br/><div style="margin-left: 30px;">GPR: Estimate free energy errors.</div>
|<span style="color: blue;">-e, --witherror</span><br/><div style="margin-left: 30px;">GPR: Estimate free energy errors.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--noenergy</span><br/><div style="margin-left: 30px;">GPR: Skip calculation of energy and errors (it can save some time when only logML is required).</div>
|<span style="color: blue;">--noenergy</span><br/><div style="margin-left: 30px;">GPR: Skip calculation of energy and errors (can save time when only logML is required).</div>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--saveabf NAME</span><br/><div style="margin-left: 30px;">Save the final ABF accumulator into the file with NAME.</div>
|<span style="color: blue;">--saveaccu NAME</span><br/><div style="margin-left: 30px;">Save the final PMF accumulator to the file NAME.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--mfinfo NAME</span><br/><div style="margin-left: 30px;">RBF+GPR: name of file with input and predicted mean forces.</div>
|<span style="color: blue;">--mfinfo NAME</span><br/><div style="margin-left: 30px;">RBF+GPR: Name of file containing input and predicted mean forces.</div>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--output FORMAT</span><br/><div style="margin-left: 30px;">Output FORMAT to print the free energy surface. Supported formats are: plain, and gnuplot.</div><span style="color:purple; margin-left: 30px;">(Default: gnuplot)</span>
|<span style="color: blue;">--output FORMAT</span><br/><div style="margin-left: 30px;">Output FORMAT to print the free energy surface. Supported formats are: plain, gnuplot.</div><span style="color:purple; margin-left: 30px;">(Default: gnuplot)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--printall</span><br/><div style="margin-left: 30px;">Print results for all bins even if not properly sampled.</div>
|<span style="color: blue;">--printall NAME</span><br/><div style="margin-left: 30px;">Print results for all bins, even if they are not properly sampled.</div><span style="color:purple; margin-left: 30px;">(Default: 0)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--unsampledasmax</span><br/><div style="margin-left: 30px;">Set energy values in unsampled region to maximum energy from sampled region or to value provided by --maxenergy.</div>
|<span style="color: blue;">--unsampledasmax</span><br/><div style="margin-left: 30px;">Set energy values in unsampled regions to the maximum energy from the sampled region, or to the value provided by --maxenergy.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--maxenergy NUMBER</span><br/><div style="margin-left: 30px;">If set, this is the energy used of unsampled regions.</div><span style="color:purple; margin-left: 30px;">(Default: 0)</span>
|<span style="color: blue;">--maxenergy NUMBER</span><br/><div style="margin-left: 30px;">If set, this is the energy used for unsampled regions.</div><span style="color:purple; margin-left: 30px;">(Default: 0)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--noheader</span><br/><div style="margin-left: 30px;">Do not print header to the output file.</div>
|<span style="color: blue;">--noheader</span><br/><div style="margin-left: 30px;">Do not print a header in the output file.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--includebinstat</span><br/><div style="margin-left: 30px;">Include bin statuses (1=sampled, 0=unsampled, -1=glued) into resulting FES.</div>
|<span style="color: blue;">--includebinstat</span><br/><div style="margin-left: 30px;">Include bin statuses (1 = sampled, 0 = unsampled, -1 = glued) in the resulting FES.</div>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--oldrfd</span><br/><div style="margin-left: 30px;">RFD: Use old RFD implementation.</div>
|<span style="color: blue;">--oldrfd</span><br/><div style="margin-left: 30px;">RFD: Use the old RFD implementation.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--fdpoints NUMBER</span><br/><div style="margin-left: 30px;">RFD: Determine number of points employed in differenciation scheme (three or four is upported) in RFD method.</div><span style="color:purple; margin-left: 30px;">(Default: 3)</span>
|<span style="color: blue;">--fdpoints NUMBER</span><br/><div style="margin-left: 30px;">RFD: Number of points used in the differentiation scheme (three or four points are supported) in the RFD method.</div><span style="color:purple; margin-left: 30px;">(Default: 3)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--fx FORMAT</span><br/><div style="margin-left: 30px;">Output FORMAT, which will be used to print values of collective variables.</div><span style="color:purple; margin-left: 30px;">(Default: %15.7e)</span>
|<span style="color: blue;">--fx FORMAT</span><br/><div style="margin-left: 30px;">Output FORMAT to print values of collective variables.</div><span style="color:purple; margin-left: 30px;">(Default: %15.7e)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--fe FORMAT</span><br/><div style="margin-left: 30px;">Output FORMAT, which will be used to print values of free energy.</div><span style="color:purple; margin-left: 30px;">(Default: %15.7e)</span>
|<span style="color: blue;">--fe FORMAT</span><br/><div style="margin-left: 30px;">Output FORMAT to print values of free energy.</div><span style="color:purple; margin-left: 30px;">(Default: %15.7e)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--kernel NAME</span><br/><div style="margin-left: 30px;">GPR: Kernel type. Supported types: ardse (ARD squared exponential), ardmc52 (ARD Matern class 5/2), default(=ardse)</div><span style="color:purple; margin-left: 30px;">(Default: default)</span>
|<span style="color: blue;">--kernel NAME</span><br/><div style="margin-left: 30px;">GPR: Kernel type. Supported types: ardse (ARD squared exponential), ardmc52 (ARD Matern class 5/2), default (= ardse).</div><span style="color:purple; margin-left: 30px;">(Default: default)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--numdiff</span><br/><div style="margin-left: 30px;">GPR: Use numerical differentiation of kernel function (for testing only).</div>
|<span style="color: blue;">--numdiff</span><br/><div style="margin-left: 30px;">GPR: Use numerical differentiation of the kernel function (for testing only).</div>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--useinv</span><br/><div style="margin-left: 30px;">GPR: Use matrix inversion pathway (for testing only).</div>
|<span style="color: blue;">--useinv</span><br/><div style="margin-left: 30px;">GPR: Use the matrix inversion pathway (for testing only).</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--calclogpl</span><br/><div style="margin-left: 30px;">GPR: Calculate logPL.</div>
|<span style="color: blue;">--calclogpl</span><br/><div style="margin-left: 30px;">GPR: Calculate logPL.</div>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--inczpe</span><br/><div style="margin-left: 30px;">GPR: Include zero-point energy at position specified by --globalmin.</div>
|<span style="color: blue;">--inczpe</span><br/><div style="margin-left: 30px;">GPR: Include zero-point energy at the position specified by --globalmin.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--nofasterror</span><br/><div style="margin-left: 30px;">GPR: Do not use faster algorithm for error calculation.</div>
|<span style="color: blue;">--nofasterror</span><br/><div style="margin-left: 30px;">GPR: Do not use the faster algorithm for error calculation.</div>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--slevel VALUE</span><br/><div style="margin-left: 30px;">Sigma-level for confidence interval.</div><span style="color:purple; margin-left: 30px;">(Default: 1)</span>
|<span style="color: blue;">--slevel VALUE</span><br/><div style="margin-left: 30px;">Sigma-level for the confidence interval.</div><span style="color:purple; margin-left: 30px;">(Default: 1)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--keepcvs SPEC</span><br/><div style="margin-left: 30px;">Which CVs should be kept during statistical reweighting of FES. Flags are specified in the form CV1[xCV2x...] with F and T for skip and kept CV, respectively. The last value pads the rest.</div><span style="color:purple; margin-left: 30px;">(Default: T)</span>
|<span style="color: blue;">--keepcvs SPEC</span><br/><div style="margin-left: 30px;">Which CVs should be kept during statistical reweighting of the FES. Flags are specified in the form CV1[xCV2x...] with F and T for skipped and kept CVs, respectively. The last value pads the rest.</div><span style="color:purple; margin-left: 30px;">(Default: T)</span>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<span style="color: blue;">--reducedfes NAME</span><br/><div style="margin-left: 30px;">Name of file for FES reduced by statistical reweighting containing only kept CVs.</div>
|<span style="color: blue;">--reducedfes NAME</span><br/><div style="margin-left: 30px;">Name of file for FES reduced by statistical reweighting, containing only kept CVs.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-v, --verbose</span><br/><div style="margin-left: 30px;">Increase output verbosity.</div>
|<span style="color: blue;">-v, --verbose</span><br/><div style="margin-left: 30px;">Increase output verbosity.</div>

Latest revision as of 11:50, 19 June 2026

Navigation: Documentation / Utilities / pmf-integrate


pmf-integrate: version 6.1090.a7cf688 (2026-06-18 21:15)

Name

pmf-integrate

Synopsis

pmf-integrate [OPTIONS] [--] ACCU ENE

Description

The program numerically integrates data from the PMF calculations. The integration is performed either by the reverse finite difference (RFD) method, radial basis functions (RBF), or Gaussian process (GPR).

Arguments

ACCU
Name of the file containing the input PMF accumulator.
ENE
Name of file where the resulting energy surface will be printed. If the name is '-' then the output will be written to the standard output.

Options

-r, --realm NAME
Requested realm for the integration. The list of supported realms can be obtained by --listrealms.
(Default: dA/dx)
--listrealms
List supported realms.
-m, --method NAME
Integration method. Supported methods are: rfd (reverse finite differences via csparse), rbf (radial basis functions), and gpr (Gaussian process).
(Default: rfd)
--emethod NAME
Integration method for the energy cut-off. Supported methods are: rfd (reverse finite differences via csparse), rbf (radial basis functions), and gpr (Gaussian process).
(Default: rfd)
-a, --lmethod NAME
Linear algebra method for LLS solution or matrix inversion. Supported algorithms are: default, svd (SVD - singular value decomposition, divide-and-conquer driver), svd2 (SVD - singular value decomposition, simple driver), qr (QR factorization), lu (LU factorization), ll (LL - Cholesky factorization). Possible combinations are: RFD(LU, default), RBF(QR, SVD, default), and GPR(LU, SVD, SVD2, LL, default).
(Default: default)
--rcond NUMBER
RBF+GPR: Rank condition for SVD. The selected value must be carefully tested. Calculation at computer precision is requested with -1 (not recommended).
(Default: 1e-06)
-l, --limit NUMBER
Only bins containing more samples than NUMBER are considered properly sampled.
(Default: 1000)
--skipfftest
Skip flood-fill test for discontinuous regions.
-q, --energylimit NUMBER
Integrate data only if the free energy is below NUMBER. This limit enforces two integration runs. A negative value disables the limit.
(Default: -1)
--rmnegene
Remove regions with negative free energy.
--skiplastelimit
Skip energy limit filtering after the final integration.
--mfmaxzscore NUMBER
RBF+GPR: Reject mean forces whose prediction errors have a z-score above NUMBER. It is assumed that mean force errors have zero mean and follow a normal distribution. This limit is applied in each pass. A negative value disables the limit.
(Default: -1)
--mfnumofztests NUMBER
RBF+GPR: Repeat the z-score test for mean force errors NUMBER times.
(Default: 1)
-s, --sigmaf2 NUMBER
GPR: Variance of the reconstructed free energy surface (signal variance).
(Default: 15.0)
-w, --wfac SPEC
RBF+GPR: Factors influencing widths of RBFs or squared exponential kernels. The width is the distance between adjacent squared exponential functions, multiplied by these factors, in the form WFac1[xWFac2x...]. The last value pads the rest.
(Default: 3.0)
-n, --sigman2 SPEC
GPR: Values of noise sigma squared for each CV, in the form SigmaN2(1)[xSigmaN2(2)x...]. The last value pads the rest.
(Default: 0.0)
--loadhyprms NAME
GPR: Name of file containing GPR hyperparameters.
-t, --rfac SPEC
RBF: Reduction factor for the number of RBFs. The number of RBFs in a given direction is the number of bins in that direction divided by this factor, in the form RFac1[xRFac2x...]. The last value pads the rest.
(Default: 1.0)
-g, --overhang NUMBER
RBFs overhang to properly integrate areas near sampled edges. Ignored for periodic CVs.
(Default: 2)
--includeglued
RBF+GPR: Explicitly include glued regions. This option is set ON when --glueing > 0.
--glueing NUMBER
RBF+GPR: Calculate energy also for unsampled bins in close vicinity to sampled ones.
(Default: 0)
--glueholes
RBF+GPR: Calculate energy also for unsampled regions inside the FES.
-p, --periodic
RFD: Enable periodicity for collective variables that are periodic.
--globalmin SPEC
RFD+RBF+GPR: Position of the global minimum provided as a single string in the form CV1xCV2x...xCVn (relevant for error determination). If not set, the position is determined automatically.
-o, --offset NUMBER
Specify an integration constant.
(Default: 0)
-e, --witherror
GPR: Estimate free energy errors.
--noenergy
GPR: Skip calculation of energy and errors (can save time when only logML is required).
--saveaccu NAME
Save the final PMF accumulator to the file NAME.
--mfinfo NAME
RBF+GPR: Name of file containing input and predicted mean forces.
--output FORMAT
Output FORMAT to print the free energy surface. Supported formats are: plain, gnuplot.
(Default: gnuplot)
--printall NAME
Print results for all bins, even if they are not properly sampled.
(Default: 0)
--unsampledasmax
Set energy values in unsampled regions to the maximum energy from the sampled region, or to the value provided by --maxenergy.
--maxenergy NUMBER
If set, this is the energy used for unsampled regions.
(Default: 0)
--noheader
Do not print a header in the output file.
--includebinstat
Include bin statuses (1 = sampled, 0 = unsampled, -1 = glued) in the resulting FES.
--oldrfd
RFD: Use the old RFD implementation.
--fdpoints NUMBER
RFD: Number of points used in the differentiation scheme (three or four points are supported) in the RFD method.
(Default: 3)
--fx FORMAT
Output FORMAT to print values of collective variables.
(Default: %15.7e)
--fe FORMAT
Output FORMAT to print values of free energy.
(Default: %15.7e)
--kernel NAME
GPR: Kernel type. Supported types: ardse (ARD squared exponential), ardmc52 (ARD Matern class 5/2), default (= ardse).
(Default: default)
--numdiff
GPR: Use numerical differentiation of the kernel function (for testing only).
--useinv
GPR: Use the matrix inversion pathway (for testing only).
--calclogpl
GPR: Calculate logPL.
--inczpe
GPR: Include zero-point energy at the position specified by --globalmin.
--nofasterror
GPR: Do not use the faster algorithm for error calculation.
--slevel VALUE
Sigma-level for the confidence interval.
(Default: 1)
--keepcvs SPEC
Which CVs should be kept during statistical reweighting of the FES. Flags are specified in the form CV1[xCV2x...] with F and T for skipped and kept CVs, respectively. The last value pads the rest.
(Default: T)
--reducedfes NAME
Name of file for FES reduced by statistical reweighting, containing only kept CVs.
-v, --verbose
Increase output verbosity.
--version
Output version information and exit.
-h, --help
Display this help and exit.