X-Git-Url: https://git.ucc.asn.au/?p=matches%2Fhonours.git;a=blobdiff_plain;f=research%2Fanalysis%20and%20stuff%2Ftcs%20scripts%2Fau_vs_blackau.py~;fp=research%2Fanalysis%20and%20stuff%2Ftcs%20scripts%2Fau_vs_blackau.py~;h=8671f8f038f086da1d0cd27d6bfaa1dcea865e86;hp=0000000000000000000000000000000000000000;hb=70a96cca12cb006506461d26cd112bab179fe74c;hpb=8caf60af39689a3546074f0c68d14c3a2e28191e diff --git a/research/analysis and stuff/tcs scripts/au_vs_blackau.py~ b/research/analysis and stuff/tcs scripts/au_vs_blackau.py~ new file mode 100755 index 00000000..8671f8f0 --- /dev/null +++ b/research/analysis and stuff/tcs scripts/au_vs_blackau.py~ @@ -0,0 +1,50 @@ +#!/usr/bin/python + +#Deposition for the FIRST sample + +from process import * +import odict +import time + +smooth = [4, 3] + +tcsdir = "../../research/TCS/" +imagedir = "au_vs_blackau/" + +os.system("mkdir -p " + imagedir.strip("/")) + +toplot = odict.odict([ + ("BlackAu", [tcsdir+"2012-09-13/BlackAu/average.dat",1]), + ("Au on BlackAu", [tcsdir+"2012-09-13/Au on BlackAu/average.dat",1]) + +]) + +# I(E) (normalised) data +gnuplot.reset() +gnuplot("set term postscript colour") +gnuplot("set output \""+imagedir+"normalised_data.eps\"") +gnuplot("set title \"Au vs Black Au I(E) curves\"") +gnuplot("set key top left") + +for f in toplot.items(): + d = ShowData(f[1][0], title=f[0], plot=gnuplot.plot, calibrate=True, normalise=True) + + + +time.sleep(1) + +# TCS (normalised) data +gnuplot.reset() +gnuplot("set term postscript colour") +gnuplot("set output \""+imagedir+"tcs_normalised.eps\"") +gnuplot("set title \"Au vs Black AuS(E) curves\"") +gnuplot("set key top right") + +for f in toplot.items(): + d = ShowTCS(f[1][0], title=f[0], plot=gnuplot.plot, calibrate=True, normalise=True, with_="lp", smooth=smooth) + + +time.sleep(1) + +#os.system("cd "+imagedir+"; for i in *.eps; do epstopdf --autorotate=All $i; done; rm *.eps") +