From 0178c655c9f1f49407c54de577c35dff7e1b828a Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 25 Dec 2009 04:37:23 +0100 Subject: [PATCH] aubio/: cvec is still on the C side --- interfaces/python/aubio/__init__.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/interfaces/python/aubio/__init__.py b/interfaces/python/aubio/__init__.py index cc324ef9..e13766a7 100644 --- a/interfaces/python/aubio/__init__.py +++ b/interfaces/python/aubio/__init__.py @@ -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) -- 2.26.2