Tuesday, November 28, 2017

[Discuss-gnuradio] FFTW and python magic

Hi there!

In my module I have to call fftw functions(gr::fft is not an option) but
I found an issue.
I linked module with fftw3f lib and install it. But when I run:

~$ PYTHONPATH=/usr/local/lib/python2.7/site-packages/ ./top_block.py

I got an error:

Traceback (most recent call last):
File "./top_block.py", line 167, in <module>
main()
File "./top_block.py", line 155, in main
tb = top_block_cls()
File "./top_block.py", line 68, in __init__
self.tolbi_fbank_24_96_raw_0 = tolbi.fbank_24_96_raw()
AttributeError: 'module' object has no attribute 'fbank_24_96_raw'

It's just a test module, so I commented out call to fftw_execute(there
is only one for now)
and everything goes on. Any ideas?


--
D

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment