From: Paul Brossier Date: Fri, 25 Dec 2009 03:37:23 +0000 (+0100) Subject: aubio/: cvec is still on the C side X-Git-Tag: 0.4.0-beta1~499 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=0178c655c9f1f49407c54de577c35dff7e1b828a;p=aubio.git aubio/: cvec is still on the C side --- 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)