ost::stutil Namespace Reference


Functions

def FloatValueExtract
def Mean
def StdDev
def Min
def Max
def Correl

Function Documentation

def ost::stutil::Correl (   xs,
  ys 
)

Calculates the correlation coefficient between xs and ys as

  sum[(xi-<x>)*(yi-<y>)]
r=----------------------
        (n-1)*sx*sy
        
where <x>, <y> are the mean of dataset xs and ys, and, sx and sy are the 
standard deviations.

Definition at line 70 of file stutil.py.

def ost::stutil::FloatValueExtract (   func  ) 

Decorator to wrap functions that take a list of float values. In addition to 
passing in a list of float values directly, it is possible to extract the 
values from attributes or generic properties.

Definition at line 4 of file stutil.py.

def ost::stutil::Max (   xs  ) 

Definition at line 67 of file stutil.py.

def ost::stutil::Mean (   xs  ) 

Calculate mean of dataset

Definition at line 42 of file stutil.py.

def ost::stutil::Min (   xs  ) 

Definition at line 63 of file stutil.py.

def ost::stutil::StdDev (   xs  ) 

Calculate standard-deviation of dataset

          | sum[xi-<x>]^2 |
sigma=sqrt|---------------|
          |       n       |

Definition at line 51 of file stutil.py.


Generated on Fri Jul 2 14:23:08 2010 for OpenStructure by  doxygen 1.5.8