Table of Contents

Module: PDF sam/analysis/PDF.py
Imported modules   
from AnalysisPlugins import *
from CustomError import *
from ErrorHandler import *
from Numeric import transpose, array, sum
from Table import *
import gtk
from histogram import histogram
import libglade
import os
import sys
Functions   
doPdf
pdf
  doPdf 
doPdf ( table,  num_bins )

Purpose: Calculates the actual probability distribution of each array: pdf(x) = Pr[X = x].

Used by: pdf

Uses: Table, histogram, Numeric, AnalysisPlugins

Input: table : Table, num_bins : int

Output: pdf : Table

Preconditions: None

Postconditions: None

SRS Refs: 3.2.1.3g, 3.2.1.4

Author: mayadm

Date: 30/9/02

  pdf 
pdf ( table )

Purpose: Returns a table with the probability histogram of the probability distribution of each array: pdf(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, PdfOptions, histogram, Numeric, AnalysisPlugins, histogram, libglade, gtk, ErrorHandler, CustomError

Input: table : Table

Output: pdf : Table

Preconditions: None

Postconditions: None

SRS Refs: 3.2.1.3g, 3.2.1.4

Author: mayadm

Date: 30/7/02

Exceptions   
CustomError, 'cancelled'
Classes   
PdfOptions

Handles getting the options needed for pdf 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