DataPipeline/Utilities.py
def createGroupedData(path='testfiles', clear=False, names=None):
    """Create sets of grouped data to test queuing and file grouping"""

    createDirectory(path)
    if names == None:
        names = createRandomStrings(3,6)
    for i in np.arange(2,10,1.0):
        val = 1/(1+exp((i-5)/1.2))
        fname = os.path.join(path,'ph_'+str(i)+'__xx_.txt')
        createTempData(fname, names, val, noise=0.5)
    return
Create sets of grouped data to test queuing and file grouping
Create sets of grouped data to test queuing and file grouping
Create sets of grouped data to test queuing and file grouping
def createGroupedData(path='testfiles', clear=False, names=None):
    createDirectory(path)
    if names == None:
        names = createRandomStrings(3,6)
    for i in np.arange(2,10,1.0):
        val = 1/(1+exp((i-5)/1.2))
        fname = os.path.join(path,'ph_'+str(i)+'__xx_.txt')
        createTempData(fname, names, val, noise=0.5)
    return
def createGroupedData ( path = 'testfiles' , clear = False , names = None ) : createDirectory ( path ) if names == None : names = createRandomStrings ( 3 , 6 ) for i in np . arange ( 2 , 10 , 1.0 ) : val = 1 / ( 1 + exp ( ( i - 5 ) / 1.2 ) ) fname = os . path . join ( path , 'ph_' + str ( i ) + '__xx_.txt' ) createTempData ( fname , names , val , noise = 0.5 ) return
Create sets of grouped data to test queuing and file grouping
Create sets of grouped data to test queuing and file grouping
"""Create sets of grouped data to test queuing and file grouping"""
path
clear
names