Ejemplo n.º 1
0
                                                                    'TRS'))
else:
    (USR, DRV, AOI, QNT, THS, NME, TRC) = sys.argv[1:]
exp = aux.EXPS[0]
# Filename --------------------------------------------------------------------
FNAME = 'DTA_FLTR_{}.csv'
# Setup number of cores -------------------------------------------------------
if USR == 'dsk':
    JOB = aux.JOB_DSK
else:
    JOB = aux.JOB_SRV
(CBBL, CEND) = (monet.CBBL, monet.CEND)
###############################################################################
# Paths
###############################################################################
(drive, land) = (drv.driveSelector(DRV, AOI[0], popSize=aux.POP_SIZE), [
    [0],
])
(gene, fldr) = (drive.get('gDict'), drive.get('folder'))
(PT_ROT, PT_IMG, PT_DTA, PT_PRE, PT_OUT,
 PT_MTR) = aux.selectPath(USR, DRV, exp)
PT_ROT = path.split(path.split(PT_ROT)[0])[0]
PT_OUT = path.join(PT_ROT, 'ML')
[monet.makeFolder(i) for i in [PT_OUT, PT_IMG]]
PT_SUMS = path.join(PT_ROT, '100', 'SUMMARY')
# Time and head --------------------------------------------------------------
tS = datetime.now()
monet.printExperimentHead(
    PT_OUT, PT_OUT, tS,
    '{} DtaConvert [{}:{}:{}:{}]'.format('tGD', DRV, QNT, AOI, THS))
###############################################################################
Ejemplo n.º 2
0
NOI = [
    [0],
]
# Sex selector ----------------------------------------------------------------
if (AOI == 'HLT') or (AOI == 'CST'):
    MF = (False, True)
else:
    MF = (True, True)
###############################################################################
# Setting up paths and style
###############################################################################
exp = '100'
for exp in EXP:
    (PT_ROT, PT_IMG, PT_DTA, PT_PRE, PT_OUT,
     PT_MTR) = aux.selectPath(USR, DRV, exp)
    drive = drv.driveSelector(DRV, AOI)
    DVP = drive.get('gDict')
    # Time and head -----------------------------------------------------------
    tS = datetime.now()
    aux.printExperimentHead(PT_DTA, PT_IMG, PT_PRE, tS, 'PreTraces ' + AOI)
    ###########################################################################
    # Load folders
    ###########################################################################
    (expDirsMean, expDirsTrac) = fun.getExpPaths(PT_DTA)
    (expNum, nodeDigits) = (len(expDirsMean), len(str(len(NOI))) + 1)
    outNames = fun.splitExpNames(PT_OUT)
    outExpNames = set(outNames)
    ###########################################################################
    # Analyze data
    ###########################################################################
    Parallel(n_jobs=JOB)(delayed(monet.preProcess)(exIx,
Ejemplo n.º 3
0
else:
    (USR, DRV, AOI, QNT, THS, TRC) = sys.argv[1:]
TICKS_HIDE = True
# Setup number of cores -------------------------------------------------------
JOB = aux.JOB_DSK
if USR == 'srv':
    JOB = aux.JOB_SRV
# Experiments -----------------------------------------------------------------
exp = aux.EXPS[0]
###############################################################################
# Paths
###############################################################################
land = [
    [0],
]
driveA = drv.driveSelector(DRV, AOI[0], popSize=aux.POP_SIZE)
driveB = drv.driveSelector(DRV, AOI[1], popSize=aux.POP_SIZE)
(gene, fldr) = (driveA.get('gDict'), driveA.get('folder'))
(PT_ROT, PT_IMG, PT_DTA, PT_PRE, PT_OUT,
 PT_MTR) = aux.selectPath(USR, DRV, exp)
PT_ROT = path.split(path.split(PT_ROT)[0])[0]
PT_OUT = path.join(PT_ROT, 'ML')
PT_IMG = PT_IMG + 'dtaTraces/'
[monet.makeFolder(i) for i in [PT_OUT, PT_IMG]]
PT_SUMS = path.join(PT_ROT, '100', 'SUMMARY')
# Time and head ---------------------------------------------------------------
tS = datetime.now()
monet.printExperimentHead(
    PT_OUT, PT_IMG, tS, 'tGD' + ' DtaTraces [{}:{}:{}]'.format(DRV, exp, AOI))
###############################################################################
# Read Iter