IMP  2.4.0
The Integrative Modeling Platform
Classes | Functions
IMP.pmi.output Namespace Reference

Classes for writing output files and processing them. More...

Detailed Description

Classes for writing output files and processing them.

Classes

class  Output
 Class for easy writing of PDBs, RMFs, and stat files. More...
 
class  ProcessOutput
 A class for reading stat files. More...
 

Functions

def plot_field_histogram
 Plot a list of histograms from a value list. More...
 
def plot_fields_box_plots
 Plot time series as boxplots. More...
 

Function Documentation

def IMP.pmi.output.plot_field_histogram (   name,
  values_lists,
  valuename = None,
  bins = 40,
  colors = None,
  format = 'png',
  reference_xline = None,
  yplotrange = None,
  xplotrange = None,
  normalized = True,
  leg_names = None 
)

Plot a list of histograms from a value list.

Parameters
namethe name of the plot
value_liststhe list of list of values eg: [[...],[...],[...]]
valuenamethe y-label
binsthe number of bins
colorsIf None, will use rainbow. Else will use specific list
formatoutput format
reference_xlineplot a reference line parallel to the y-axis
yplotrangethe range for the y-axis
normalizedwhether the histogram is normalized or not
leg_namesnames for the legend

Definition at line 768 of file output.py.

def IMP.pmi.output.plot_fields_box_plots (   name,
  values,
  positions,
  frequencies = None,
  valuename = 'None',
  positionname = 'None',
  xlabels = None 
)

Plot time series as boxplots.

fields is a list of time series, positions are the x-values valuename is the y-label, positionname is the x-label

Definition at line 833 of file output.py.