Analyzer¶
- class ufedmm.Analyzer(ufed, dataframe, bins, min_count=1, adjust_centers=False)[source]¶
UFED Analyzer.
Warning
This class is obsolete and will be discontinued. Use
FreeEnergyAnalyzerinstead.- Parameters:
ufed (
UnifiedFreeEnergyDynamics) – The UFED object.dataframe (pandas.DataFrame) – A data frame containing sampled sets of collective variables and driver parameters.
bins (int or list(int)) – The number of bins in each direction.
- Keyword Arguments:
min_count (int, default=1) – The miminum number of hits for a given bin to be considered in the analysis.
adjust_centers (bool, default=False) – Whether to consider the center of a bin as the mean value of the its sampled internal points istead of its geometric center.
Methods
- free_energy_functions(sigma=None, factor=8)[source]¶
Returns Python functions for evaluating the potential of mean force and their originating mean forces as a function of the collective variables.
- Keyword Arguments:
sigma (float or unit.Quantity, default=None) – The standard deviation of kernels. If this is None, then values will be determined from the distances between nodes.
factor (float, default=8) – If
sigmais not explicitly provided, then it will be computed assigma = factor*range/binsfor each direction.
- Returns:
potential (function) – A Python function whose arguments are collective variable values and whose result is the potential of mean force at that values.
mean_force (function) – A Python function whose arguments are collective variable values and whose result is the mean force at that values regarding a given direction. Such direction must be defined through a keyword argument dir, whose default value is 0 (meaning the direction of the first collective variable).