SiggiGue / pyfilterbank

Implementing a fractional octave filterbank for python. Based on Numpy and CFFI.
107 stars 27 forks source link

Two small issus #6

Closed E-B41 closed 6 years ago

E-B41 commented 7 years ago

splweighting.weight_signal(): Argument in function definition ist data, but in return value x is used. Simple fix would be changing x to data in call of lfilter()

octbank (multiple functions): I assume there were some code changes in numpy 1.12 or 1.13 that start checking for integers as argument of np.zeros() , np.abs() and others. So it is necassary to cast the divisions, at least in my setup (Python 3.5.3)

SiggiGue commented 7 years ago

i am about to refactor the package.