Table of Contents

Module: CDF sam/analysis/CDF.py
Imported modules   
from AnalysisPlugins import *
from CustomError import *
from ErrorHandler import *
from Numeric import transpose, array, sum, cumsum
from Table import *
import gtk
from histogram import histogram
import libglade
import os
import sys
Functions   
cdf
doCdf
  cdf 
cdf ( table )

Purpose: Returns a table with the cumulative frequency histogram of the cumulative frequency distribution of each array: cdf(x) = Pr[X <= x]. First runs a GUI to get the number of bins wanted by the user, then performs the actual analysis.

Used by: Plugin

Uses: Table, CdfOptions, histogram, Numeric, AnalysisPlugins, histogram, libglade, gtk, ErrorHandler, CustomError

Input: table : Table

Output: cdf : Table

Preconditions: None

Postconditions: None

SRS Refs: 3.2.1.3f, 3.2.1.4

Author: mayadm

Date: 30/7/02

Exceptions   
CustomError, 'cancelled'
  doCdf 
doCdf ( table,  num_bins )

Purpose: Calculates the actual cumulative distribution of each array: cdf(x) = Pr[X <= x].

Used by: cdf

Uses: Table, histogram, Numeric, AnalysisPlugins

Input: table : Table, num_bins : int

Output: cdf : Table

Preconditions: None

Postconditions: None

SRS Refs: 3.2.1.3f, 3.2.1.4

Author: mayadm

Date: 30/9/02

Classes   
CdfOptions

Handles getting the options needed for cdf analysis from the user.


Table of Contents

This document was automatically generated on Wed Oct 30 23:04:21 2002 by HappyDoc version 2.0