RelativeHybridTopologyProtocolResult#
- class openfe.protocols.openmm_rfe.RelativeHybridTopologyProtocolResult(**data)#
Bases:
ProtocolResultDict-like container for the output of a RelativeHybridTopologyProtocol
Methods
Returns the number of equilibration iterations for each repeat of the calculation.
Average free energy difference of this transformation
Get a list of forward and reverse analysis of the free energies for each repeat using uncorrelated production samples.
Return a list of tuples containing the individual free energy estimates and associated MBAR errors for each repeat.
Return a list of dictionary containing the MBAR overlap estimates calculated for each repeat.
Returns the timeseries of replica states for each repeat.
The replica lambda state transition statistics for each repeat.
The uncertainty/error in the dG value: The std of the estimates of each independent repeat
Returns the number of uncorrelated production samples for each repeat of the calculation.
- property data: dict[str, Any]#
Aggregated data contents from multiple ProtocolDAGResult instances.
The structure of this data is specific to the Protocol subclass each ProtocolResult subclass corresponds to.
- equilibration_iterations() list[float]#
Returns the number of equilibration iterations for each repeat of the calculation.
- get_estimate() Quantity#
Average free energy difference of this transformation
- Returns:
dG – The free energy difference between the first and last states. This is a Quantity defined with units.
- Return type:
unit.Quantity
- get_forward_and_reverse_energy_analysis() list[dict[str, typing.Union[numpy.ndarray[typing.Any, numpy.dtype[+_ScalarType_co]], pint.util.Quantity]]]#
Get a list of forward and reverse analysis of the free energies for each repeat using uncorrelated production samples.
The returned dicts have keys: ‘fractions’ - the fraction of data used for this estimate ‘forward_DGs’, ‘reverse_DGs’ - for each fraction of data, the estimate ‘forward_dDGs’, ‘reverse_dDGs’ - for each estimate, the uncertainty
The ‘fractions’ values are a numpy array, while the other arrays are Quantity arrays, with units attached.
- get_individual_estimates() list[tuple[pint.util.Quantity, pint.util.Quantity]]#
Return a list of tuples containing the individual free energy estimates and associated MBAR errors for each repeat.
- get_overlap_matrices() list[dict[str, numpy.ndarray[typing.Any, numpy.dtype[+_ScalarType_co]]]]#
Return a list of dictionary containing the MBAR overlap estimates calculated for each repeat.
- Returns:
overlap_stats –
- A list of dictionaries containing the following keys:
scalar: One minus the largest nontrivial eigenvalueeigenvalues: The sorted (descending) eigenvalues of the overlap matrixmatrix: Estimated overlap matrix of observing a sample from state i in state j
- Return type:
- get_replica_states() list[numpy.ndarray[typing.Any, numpy.dtype[+_ScalarType_co]]]#
Returns the timeseries of replica states for each repeat.
- Returns:
replica_states – List of replica states for each repeat
- Return type:
List[npt.NDArray]
- get_replica_transition_statistics() list[dict[str, numpy.ndarray[typing.Any, numpy.dtype[+_ScalarType_co]]]]#
The replica lambda state transition statistics for each repeat.
Note
This is currently only available in cases where a replica exchange simulation was run.
- get_uncertainty() Quantity#
The uncertainty/error in the dG value: The std of the estimates of each independent repeat