Package xdp :: Module meansum :: Class MeansumMapping
[show private | hide private]
[frames | no frames]

Class MeansumMapping


Map experiment data onto independant and dependant values using Python expressions and Data.evaluate.

The destination columns are:

To Do: make this is more general tool

Method Summary
  __init__(self, xExpr, yExpr)
Create a new MeansumMapping object.
Data __call__(self, data)
Apply this mapping to a dataset, creating a new dataset that contains the independent and dependent values.

Method Details

__init__(self, xExpr, yExpr)
(Constructor)

Create a new MeansumMapping object.
Parameters:
xExpr - Python expression for calculating the independant values
           (type=string)
yExpr - Python expression for calculating the dependant values
           (type=string)

__call__(self, data)
(Call operator)

Apply this mapping to a dataset, creating a new dataset that contains the independent and dependent values.
Parameters:
data - dataset
           (type=Data)
Returns:
X and Y dataset
           (type=Data)
Raises:
EvaluationError - one of the Python expressions produced an error or did not result in a Numeric vector

Generated by Epydoc 2.1 on Wed Jul 20 11:51:06 2005 http://epydoc.sf.net