#!/usr/bin/python -u import os, sys lib_path = os.path.abspath('../../') sys.path.append(lib_path) from process import * plotList = [] def sf(e): e = e.split("=") if len(e) == 2: return float(e[1]) else: return 0 for f in os.listdir(".").sort(key = lambda e : sf(e)): if os.path.isdir(f): plotList += ShowTCS(GetData(f), show_peak = False, calibrate=True, normalise=True, plot=None, title=str(f)) gnuplot.plot(*plotList) sys.stdin.readline()