getting stuff from qdelaunay

mostly spent time trying to figure out subprocess (which i though i already understood). I am concerned for what will happen with large datasets.

next steps include:
1) design data struture
2) implement slurping of stdout into this structure
3) drink coke

--HG--
rename : lib/smcqhull.py => lib/smcqdelaunay.py
This commit is contained in:
Stephen Mardson McQuay
2010-02-07 00:01:02 -07:00
parent f9973e7580
commit 50daeb5d74
6 changed files with 28 additions and 10 deletions
+7
View File
@@ -25,6 +25,13 @@ class TestSequenceFunctions(unittest.TestCase):
self.q = [1, 0, 0, 0, 0, 0, 0, 0, 0]
self.X = [1.5, 10.25]
def testImports(self):
import numpy
import scipy
import grid
import baker
import delaunay
def testGetPhis(self):
X = [0,0]
+1 -3
View File
@@ -1,9 +1,6 @@
#!/usr/bin/python
import random
import unittest
import delaunay
class TestSequenceFunctions(unittest.TestCase):
def setUp(self):
@@ -11,6 +8,7 @@ class TestSequenceFunctions(unittest.TestCase):
def testQhull(self):
import delaunay
dt = delaunay.Triangulation(self.l)
answer = [
[4,1,3],