Welcome to BayesMBAR!#
BayesMBAR stands for Bayesian Multistate Bennett Acceptance Ratio methods. It is a Bayesian generalization of the Multistate Bennett Acceptance Ratio (MBAR) method. It is useful for computing free energy differences and uncertainties between multiple states based on configurations sampled from each state using molecular dynamics simulations or Monte Carlo methods. It can be used as a drop-in replacement for the weighted histogram analysis method (WHAM) and provides extra flexibilities such as the ability to compute uncertainties and to incorporate prior knowledge to improve the accuracy of the free energy estimates. Besides the BayesMBAR method, the package also includes implementations of FastMBAR and CBayesMBAR. All the methods are implemented using JAX and can be run on CPUs, GPUs, and TPUs.