DataPipeline/Testing.py
def preProcessingTest():
    """Test processing steps like differentation of the data"""
    path = "testfiles"
    names = Utilities.createRandomStrings(8,6)
    fname = os.path.join(path,'preprocessingtest.txt')
    Utilities.createCDData(fname, names, 300, .5)
    conf = {'format':'databycolumn','model1':'gaussian',
            'function1':'differentiate','function2':'gaussiansmooth',
            'iterations':100,
            'variable1':'a','saveplots':1}
    p = Pipeline()
    p.createConfig('temp.conf',**conf)
    p.openRaw(fname)
    p.run()
    return
Test processing steps like differentation of the data
Test processing steps like differentation of the data
Test processing steps like differentation of the data
def preProcessingTest():
    path = "testfiles"
    names = Utilities.createRandomStrings(8,6)
    fname = os.path.join(path,'preprocessingtest.txt')
    Utilities.createCDData(fname, names, 300, .5)
    conf = {'format':'databycolumn','model1':'gaussian',
            'function1':'differentiate','function2':'gaussiansmooth',
            'iterations':100,
            'variable1':'a','saveplots':1}
    p = Pipeline()
    p.createConfig('temp.conf',**conf)
    p.openRaw(fname)
    p.run()
    return
def preProcessingTest ( ) : path = "testfiles" names = Utilities . createRandomStrings ( 8 , 6 ) fname = os . path . join ( path , 'preprocessingtest.txt' ) Utilities . createCDData ( fname , names , 300 , .5 ) conf = { 'format' : 'databycolumn' , 'model1' : 'gaussian' , 'function1' : 'differentiate' , 'function2' : 'gaussiansmooth' , 'iterations' : 100 , 'variable1' : 'a' , 'saveplots' : 1 } p = Pipeline ( ) p . createConfig ( 'temp.conf' , ** conf ) p . openRaw ( fname ) p . run ( ) return
Test processing steps like differentation of the data
Test processing steps like differentation of the data
"""Test processing steps like differentation of the data"""