示例#1
0
def genfromtxt(folders):
    lesionfolders = [folders[i] for i in range(0, len(folders), 2)]
    controlfolders = [folders[i] for i in range(1, len(folders), 2)]

    print "Processing lesions..."
    lesions = sessions.genfromsubjects(lesionfolders, range(5, 6), shuttling)
    print "Processing controls..."
    controls = sessions.genfromsubjects(controlfolders, range(5, 6), shuttling)
    return figure2(lesions, controls)
示例#2
0
def genfromtxt(folders):
    lesionfolders = [folders[i] for i in lesion_order]
    controlfolders = [folders[i] for i in control_order]

    print "Processing lesions..."
    lesions = sessions.genfromsubjects(lesionfolders, range(1, 5), shuttling)
    print "Processing controls..."
    controls = sessions.genfromsubjects(controlfolders, range(1, 5), shuttling)
    return figure1b(lesions, controls)
def genfromtxt(folders):
    lesionfolders = [folders[i] for i in range(0,len(folders),2)]
    controlfolders = [folders[i] for i in range(1,len(folders),2)]
                    
    print "Processing lesions..."
    lesions = sessions.genfromsubjects(lesionfolders,range(5,6),shuttling)
    print "Processing controls..."
    controls = sessions.genfromsubjects(controlfolders,range(5,6),shuttling)
    return figure2(lesions, controls)
def genfromtxt(folders):
    lesionfolders = [folders[i] for i in lesion_order[1:]]
    controlfolders = [folders[i] for i in control_order]
                    
    print "Processing lesions..."
    lesions = sessions.genfromsubjects(lesionfolders,[4,10,-1],trajectories)
    print "Processing controls..."
    controls = sessions.genfromsubjects(controlfolders,[4,10,-1],trajectories)
    return figure1c(lesions, controls)
示例#5
0
def genfromtxt(folders):
    lesionfolders = [folders[i] for i in lesion_order[1:]]
    controlfolders = [folders[i] for i in control_order]
                    
    print "Processing lesions..."
    lesions = sessions.genfromsubjects(lesionfolders,[4,10,-1],trajectories)
    print "Processing controls..."
    controls = sessions.genfromsubjects(controlfolders,[4,10,-1],trajectories)
    return figure1c(lesions, controls)