DataPipeline/Testing.py
def fitPropagationTest():
    """Tests the propagation of fit data direct from a dict - no importing"""

    start=time.time()
    p = Pipeline()
    conf = {'model1':'linear','model2':'Michaelis-Menten','model3':'sigmoid',
            'variable1':'a','variable2':'Km','variable3':'tm',#'xerror':.1,'yerror':0.05,
            }
    p.createConfig('temp.conf',**conf)
    data = Utilities.createNestedData()
    Em = EkinProject()
    E,fits = p.processFits(data, Em=Em)
    print 'final fits', fits
    fname = os.path.join(p.workingdir,'results')
    Em.saveProject(fname)
    p.saveEkinPlotstoImages(Em, fname)
    print 'completed fit propagation test'
    print 'took %s seconds' %round((time.time()-start),2)
    print '-------------------'
    return
Tests the propagation of fit data direct from a dict - no importing
Tests the propagation of fit data direct from a dict - no importing
Tests the propagation of fit data direct from a dict - no importing
def fitPropagationTest():
    start=time.time()
    p = Pipeline()
    conf = {'model1':'linear','model2':'Michaelis-Menten','model3':'sigmoid',
            'variable1':'a','variable2':'Km','variable3':'tm',
            }
    p.createConfig('temp.conf',**conf)
    data = Utilities.createNestedData()
    Em = EkinProject()
    E,fits = p.processFits(data, Em=Em)
    print 'final fits', fits
    fname = os.path.join(p.workingdir,'results')
    Em.saveProject(fname)
    p.saveEkinPlotstoImages(Em, fname)
    print 'completed fit propagation test'
    print 'took %s seconds' %round((time.time()-start),2)
    print '-------------------'
    return
def fitPropagationTest ( ) : start = time . time ( ) p = Pipeline ( ) conf = { 'model1' : 'linear' , 'model2' : 'Michaelis-Menten' , 'model3' : 'sigmoid' , 'variable1' : 'a' , 'variable2' : 'Km' , 'variable3' : 'tm' , } p . createConfig ( 'temp.conf' , ** conf ) data = Utilities . createNestedData ( ) Em = EkinProject ( ) E , fits = p . processFits ( data , Em = Em ) print 'final fits' , fits fname = os . path . join ( p . workingdir , 'results' ) Em . saveProject ( fname ) p . saveEkinPlotstoImages ( Em , fname ) print 'completed fit propagation test' print 'took %s seconds' % round ( ( time . time ( ) - start ) , 2 ) print '-------------------' return
Tests the propagation of fit data direct from a dict - no importing
Tests the propagation of fit data direct from a dict - no importing
"""Tests the propagation of fit data direct from a dict - no importing""" #'xerror':.1,'yerror':0.05,