uwham
#
Estimate free energies using the UWHAM method [1]
References
[1]: Zhiqiang Tan, Emilio Gallicchio, Mauro Lapelosa, and Ronald M. Levy, "Theory of binless multi-state free energy estimation with applications to protein-ligand binding", J. Chem. Phys. 136, 144102 (2012)
Functions:
-
estimate_f_i
–Estimates the free energies of a set of sampled states.
estimate_f_i
#
Estimates the free energies of a set of sampled states.
Parameters:
-
u_kn
(ndarray
) –The uncorrelated reduced potentials sampled at
k
states withshape=(n_states, n_samples)
. -
n_k
(ndarray
) –The number of samples at state
k
.
Returns:
-
tuple[ndarray, ndarray, ndarray]
–The estimated reduced free energies and their estimated variance.