aubio/: cvec is still on the C side
authorPaul Brossier <piem@piem.org>
Fri, 25 Dec 2009 03:37:23 +0000 (04:37 +0100)
committerPaul Brossier <piem@piem.org>
Fri, 25 Dec 2009 03:37:23 +0000 (04:37 +0100)
interfaces/python/aubio/__init__.py

index cc324ef9be26de4a3a59c7c4f991b7ae4e119dac..e13766a7d125c25410cde5f2f0efdbbd7f333229 100644 (file)
@@ -8,13 +8,3 @@ class fvec(numpy.ndarray):
     def __new__(self, length = 1024, **kwargs):
         self = numpy.zeros(length, dtype='float32', **kwargs)
         return self
-
-class cvec:
-
-    def __init__ (self, length = 1024, **kwargs):
-        self.norm = numpy.zeros(length / 2 + 1, dtype='float32', **kwargs)
-        self.phas = numpy.zeros(length / 2 + 1, dtype='float32', **kwargs)
-
-    def __len__ (self):
-        assert len(self.norm) == len(self.phas)
-        return len(self.norm)