DataPipeline/Utilities.py
def createSingleFileData(path='testfiles', clear=False):
    """Create sets of individual data files all in one folder,
       one per xy datasew with multiple copies for each label representing ph values"""

    createDirectory(path)
    names = createRandomStrings(3,6)
    reps = range(1,2)
    for name in names:
        for i in np.arange(2,10,1.0):
            for rep in reps:
                val = 1/(1+exp((i-5)/1.2))
                fname = os.path.join(path, name+'_ph'+str(i)+'_rep'+str(rep)+'.txt')
                createTempData(fname, ['ph'], val)
    return
Create sets of individual data files all in one folder,
       one per xy datasew with multiple copies for each label representing ph values
Create sets of individual data files all in one folder,
one per xy datasew with multiple copies for each label representing ph values
Create sets of individual data files all in one folder one per xy datasew with multiple copies for each label representing ph values
def createSingleFileData(path='testfiles', clear=False):
    createDirectory(path)
    names = createRandomStrings(3,6)
    reps = range(1,2)
    for name in names:
        for i in np.arange(2,10,1.0):
            for rep in reps:
                val = 1/(1+exp((i-5)/1.2))
                fname = os.path.join(path, name+'_ph'+str(i)+'_rep'+str(rep)+'.txt')
                createTempData(fname, ['ph'], val)
    return
def createSingleFileData ( path = 'testfiles' , clear = False ) : createDirectory ( path ) names = createRandomStrings ( 3 , 6 ) reps = range ( 1 , 2 ) for name in names : for i in np . arange ( 2 , 10 , 1.0 ) : for rep in reps : val = 1 / ( 1 + exp ( ( i - 5 ) / 1.2 ) ) fname = os . path . join ( path , name + '_ph' + str ( i ) + '_rep' + str ( rep ) + '.txt' ) createTempData ( fname , [ 'ph' ] , val ) return
Create sets of individual data files all in one folder,
one per xy datasew with multiple copies for each label representing ph values
Create sets of individual data files all in one folder one per xy datasew with multiple copies for each label representing ph values
"""Create sets of individual data files all in one folder,
       one per xy datasew with multiple copies for each label representing ph values"""
path
clear