DataPipeline/Processing.py
def doFunctions(self, names, data):
        """Apply one or more functions to the data, need to account
           for nesting of data here
           names: names of functions, should be in class.predefined
           data: dictionary with paired x,y tuples """

        newdata = copy.deepcopy(data)
        for name in names:
            func = getattr(self, name)
            args = self.getArgs(name)
            #print name, args
            for d in data:               
               x,y = newdata[d]
               newdata[d] = func(x,y, **args)               
               #print d, newdata[d][0]
        return newdata
Apply one or more functions to the data, need to account
           for nesting of data here
           names: names of functions, should be in class.predefined
           data: dictionary with paired x,y tuples 
Apply one or more functions to the data, need to account
for nesting of data here
names: names of functions, should be in class.predefined
data: dictionary with paired x,y tuples
Apply one or more functions to the data need to account for nesting of data here names : names of functions should be in class . predefined data : dictionary with paired x y tuples
def doFunctions(self, names, data):
        newdata = copy.deepcopy(data)
        for name in names:
            func = getattr(self, name)
            args = self.getArgs(name)
            for d in data:               
               x,y = newdata[d]
               newdata[d] = func(x,y, **args)               
        return newdata
def doFunctions ( self , names , data ) : newdata = copy . deepcopy ( data ) for name in names : func = getattr ( self , name ) args = self . getArgs ( name ) for d in data : x , y = newdata [ d ] newdata [ d ] = func ( x , y , ** args ) return newdata
Apply one or more functions to the data, need to account
for nesting of data here
names: names of functions, should be in class.predefined
data: dictionary with paired x,y tuples
Apply one or more functions to the data need to account for nesting of data here names : names of functions should be in class . predefined data : dictionary with paired x y tuples
"""Apply one or more functions to the data, need to account
           for nesting of data here
           names: names of functions, should be in class.predefined
           data: dictionary with paired x,y tuples """ #print name, args #print d, newdata[d][0]
self
names
data