removed pointless script

This commit is contained in:
Stephen McQuay 2011-03-24 15:17:54 -06:00
parent 24fa65bc90
commit e8414417a5

View File

@ -1,33 +0,0 @@
#!/usr/bin/env python
import sys
from grid.DD import grid
from grid.qhull import parse_qhull_file
from baker import get_phis, run_baker
from baker.tools import exact_func, smberror, improved_answer
from glob import glob
from os import remove
FILE_PREFIX='/tmp/qhull-'
try:
verts = parse_qhull_file(sys.argv[1], verbose=True)
X = [float(sys.argv[2]), float(sys.argv[3])]
except:
print "usage: app.py qhullinputfile X Y"
sys.exit(1)
q = [exact_func(i) for i in verts]
g = grid(verts,q)
exact = exact_func(X)
d = {True:0, False:0}
try:
answer = g.run_baker(X)
d[improved_answer(answer, exact)] += 1
except smberror as e:
print e