Closed kyleabeauchamp closed 4 years ago
You aren't looking at the most recent code.
https://github.com/choderalab/pymbar/blob/master/pymbar/mbar.py#L479
Reviving this to avoid having multiple issues. Probably the best thing to do is to SAVE the theta matrix when calculating the uncertainties, and then write a method to retrieve it separately. It can be a big matrix, so one might not want to have it around in some cases, but we can deal with that a bit later (perhaps have saving be optional, but default on, then it can be listed as one of the things that can be done to save memory)
Reviving this to avoid having multiple issues. Probably the best thing to do is to SAVE the theta matrix when calculating the uncertainties, and then write a method to retrieve it separately.
Sounds great!
I think we can close this as Theta is still an optional return and we'll be changing the return style in 4.0 anyways.
def getFreeEnergyDifferences(self, compute_uncertainty=True, uncertainty_method=None, warning_cutoff=1.0e-10, return_theta=False): """Get the dimensionless free energy differences and uncertainties among all thermodynamic states. Parameters
?