Commit before breaking everything
[matches/honours.git] / research / TCS / 2012-09-07 / venault / analysis.py~
1 #!/usr/bin/python -u
2
3
4 import os, sys
5 lib_path = os.path.abspath('../../')
6 sys.path.append(lib_path)
7 from process import *
8
9 plotList = []
10
11 def sf(e):
12         e = e.split("=")
13         if len(e) == 2:
14                 return float(e[1])
15         else:
16                 return 0
17
18
19
20 for f in os.listdir(".").sort(key = lambda e : sf(e)):
21         if os.path.isdir(f):
22                 plotList += ShowTCS(GetData(f), show_peak = False, calibrate=True, normalise=True, plot=None, title=str(f))
23
24 gnuplot.plot(*plotList)
25
26
27 sys.stdin.readline()

UCC git Repository :: git.ucc.asn.au