#!/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