Merge branch 'master' of git.ucc.asn.au:/matches/honours
[matches/honours.git] / research / ellipsometry / process.py
index ef78804..ec56d67 100755 (executable)
@@ -1,17 +1,22 @@
 #!/usr/bin/python
-"""
-       Script to process ellipsometry data output by WVASE
-       and interface to gnuplot
-
-       @author Sam Moore
-"""
-
 import sys
 import os
+import re # Regular expressions - for removing comments
+import odict #ordered dictionary
+import copy
+
+import Gnuplot, Gnuplot.funcutils
+import string
+import time
+import math
+import cmath
+import random
+
+gnuplot = Gnuplot.Gnuplot()
 
 keys = ["wavelength","angle", "psi", "delta", "uncertainty_psi", "uncertainty_delta"]
 
-def getData(fileName):
+def GetData(fileName):
        dataFile = open(fileName, "r")
        #Format is 
        #wavelength     angle   psi     delta   uncertainty_psi uncertainty_delta

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