IMP  2.1.1
The Integrative Modeling Platform
IMP.isd.Analysis.Analysis Class Reference

Class that produces analysis-related output, and is able to parse the output of a file produced by the Statistics class. More...

Public Member Functions

def add_data
 adds data point to hierarchy
 
def create_entry
 adds a new entry to the hierarchy by parsing a title entry
 
def dump
 "dump float data from history h to file dest. More...
 
def histogram
 plots histogram of datum (cat,name) from hierarchy h, optionnally specifying a range. More...
 
def plot
 plots datum (cat,name) from hierarchy h, optionnally specifying a range. More...
 
def read_AMBER_stats
 reads an AMBER mden file and returns a History instance
 
def read_AMBER_variables
 reads an AMBER mden file and returns variables present in it
 
def read_stats
 reads a *_stats.txt file and returns a History instance
 
def read_variables
 reads a *_stats.txt file and returns variables present in it
 

Detailed Description

Note
This class is only available in Python.

Definition at line 7 of file Analysis.py.

Member Function Documentation

def IMP.isd.Analysis.Analysis.dump (   self,
  h,
  dest,
  args 
)

args can be either strings corresponding to categories, or tuples corresponding to entries of a certain category. Only one counter will be output for the whole dump, it corresponds to the counter of the first entry's category. You can always specify additional counters if needed.

Definition at line 148 of file Analysis.py.

def IMP.isd.Analysis.Analysis.histogram (   self,
  h,
  datums,
  kwargs 
)

To plot multiple data at the same time, add them sequentially.

Definition at line 136 of file Analysis.py.

def IMP.isd.Analysis.Analysis.plot (   self,
  h,
  datums,
  kwargs 
)

To plot multiple data at the same time, add them sequentially. Takes x axis from the 'step' entry of the first datum. TODO.

Definition at line 120 of file Analysis.py.


The documentation for this class was generated from the following file: