示例#1
0
文件: forays.py 项目: j-kan/rodents
def main(argv=None):

  numpy.set_printoptions(linewidth=200)

  distance_matrices = {}
  for (infile, treatment, rat, session) in directory_search.main(argv):
    distance_matrices[(treatment, rat, session)] = distance_matrix(infile, LV)

  return distance_matrices
示例#2
0
文件: bigram.py 项目: j-kan/rodents
def main(argv=None):

  print_header()

  for (infile, treatment, rat, session) in directory_search.main(argv): 
    process_file(infile, treatment, rat, session, False)
示例#3
0
def main(argv=None):
  #root_dir = 'X36TrackDataS1S2-5-23-11'
  print_header()

  for (infile, treatment, rat, session) in directory_search.main(argv): 
    process_file(infile, treatment, rat, session, 6)