ost::stutil Namespace Reference

Functions

def Mean
def Median
def StdDev
def Min
def Max
def Correl
def Histogram

Function Documentation

def ost::stutil::Correl (   xs,
  ys 
)
Calculates the correlation coefficient between xs and ys as

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

Definition at line 40 of file stutil.py.

def ost::stutil::Histogram (   xs,
  bounds,
  num_bins 
)

Definition at line 67 of file stutil.py.

def ost::stutil::Max (   xs  ) 

Definition at line 37 of file stutil.py.

def ost::stutil::Mean (   xs  ) 
Calculate mean of dataset

Definition at line 3 of file stutil.py.

def ost::stutil::Median (   xs  ) 
Calculate median of dataset

Definition at line 11 of file stutil.py.

def ost::stutil::Min (   xs  ) 

Definition at line 34 of file stutil.py.

def ost::stutil::StdDev (   xs  ) 
Calculate standard-deviation of dataset

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

Definition at line 23 of file stutil.py.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 6 Dec 2017 for OpenStructure by  doxygen 1.6.1