epfl-lts2 / pygsp

Graph Signal Processing in Python
https://pygsp.rtfd.io
BSD 3-Clause "New" or "Revised" License
485 stars 93 forks source link

gabor example doesn't work #9

Closed Gibbsdavidl closed 7 years ago

Gibbsdavidl commented 7 years ago

Hi there,

Was trying out the Gabor filter with the example code given in the comments:

G = graphs.Logo() k = lambda x: x/(1.-x) g = filters.Gabor(G, k); 2017-07-26 11:24:27,800:INFO: Gabor : has to compute lmax 2017-07-26 11:24:27,812:INFO: Filter Gabor will calculate and set the eigenvalues to normalize the kernel Traceback (most recent call last): File "", line 1, in TypeError: init() should return None, not 'list'

Thanks, great package! -dave

mdeff commented 7 years ago

Good catch! Thanks