Package schrodinger :: Package application :: Package desmond :: Module meta :: Class MetaDynamicsAnalysis
[hide private]
[frames] | no frames]

Class MetaDynamicsAnalysis

Analysis tools for Desmond's metadynamics jobs. The class can be used and run from the command-line or as a module.

Instance Methods [hide private]
 
__init__(self, data_fname, inp_fname=None, key=None)
 
_parseInp(self, inp_fname)
 
_getInp(self, meta)
 
_parseData(self, data_fname)
 
evaluate(self, x)
 
computeFES(self, out_fname='', units='degrees', progress_callback=None)
This function figures out the grid from the ranges and the bins given the cfg.
Static Methods [hide private]
 
convertDataToPlot(bins, data)
Converts data, usually read in from an exported plot result, to structures usable by the plot.
 
convertPlotToData(bins, edges, FES)
Takes data used to plot FES values and converts it to a list of lists for exporting purposes.
 
writeFES(fname, data, fes_shape, cvs, units)
Write out the free energy distribution in a common way.
Method Details [hide private]

computeFES(self, out_fname='', units='degrees', progress_callback=None)

 

This function figures out the grid from the ranges and the bins given the cfg. For each gaussian, add it to the previous gaussian sum for each grid point.

convertDataToPlot(bins, data)
Static Method

 

Converts data, usually read in from an exported plot result, to structures usable by the plot.

Parameters:
  • bins (list or tuple) - The FES shape
  • data - List of lists containing cv and FES values
Returns:
list of x and y values

convertPlotToData(bins, edges, FES)
Static Method

 

Takes data used to plot FES values and converts it to a list of lists for exporting purposes.

Parameters:
  • bins (list or tuple) - The FES shape
  • edges (List of lists) - The x and y values for the plot
  • FES (numpy.array) - The FES values for the plot
Returns:
List of lists containing cv and FES values

writeFES(fname, data, fes_shape, cvs, units)
Static Method

 

Write out the free energy distribution in a common way. The GUI utilizing this class needs to write out data from self.computeFES