7 tcsdir = "../../research/TCS/"
11 #os.system("rm -rf si_substrate")
12 os.system("mkdir -p si_substrate")
14 toplot = odict.odict([
15 ("Si Substrate" , tcsdir+"2012-09-20/171922.dat"),
16 ("+5min" , tcsdir+"2012-09-20/172442.dat"),
17 ("+1hour" , tcsdir+"2012-09-20/181935.dat"),
18 ("+2hour" , tcsdir+"2012-09-20/192017.dat"),
19 ("+7day" , tcsdir+"2012-09-27/Si/095131.dat")
25 for f in toplot.items():
26 d = ShowData(f[1], title=f[0], plot=gnuplot.replot, calibrate=True)
28 gnuplot("set term postscript colour")
29 gnuplot("set output \"si_substrate/raw_data.eps\"")
30 gnuplot("set title \"Evolution of Si Substrate I(E) curves\"")
31 gnuplot("set key top left")
38 # NORMALISED I(E) data
40 gnuplot("set term wxt")
42 for f in toplot.items():
43 d = ShowData(f[1], title=f[0], plot=gnuplot.replot, calibrate=True, normalise=True)
44 gnuplot("set term postscript colour")
45 gnuplot("set output \"si_substrate/normalised_data.eps\"")
46 gnuplot("set title \"Evolution of Si Substrate Normalised I(E) curves\"")
47 gnuplot("set key top left")
53 gnuplot("set term wxt")
54 gnuplot("set term postscript colour")
55 gnuplot("set output \"si_substrate/tcs.eps\"")
56 gnuplot("set title \"Evolution of Si Substrate TCS\"")
57 gnuplot("set key top right")
59 for f in toplot.items():
61 d = ShowTCS(f[1], title=f[0], plot=gnuplot.replot, calibrate=True, smooth=smooth)
67 gnuplot("set term wxt")
68 gnuplot("set term postscript colour")
69 gnuplot("set output \"si_substrate/tcs_normalised.eps\"")
70 gnuplot("set title \"Evolution of Si Substrate Normalised TCS\"")
71 gnuplot("set key top right")
73 for f in toplot.items():
75 d = ShowTCS(f[1], title=f[0], plot=gnuplot.replot, normalise=True, calibrate=True, smooth=smooth)
78 #os.system("cd si_substrate; for i in *.eps; do epstopdf --autorotate=All $i; done; rm *.eps")