Forum: GNU Radio Error trying to load taps into FFT filter

C4164bf481aa95c817f00345b58afb76?d=identicon&s=25 Tom M. (tom_m70)
on 2014-04-19 18:37
(Received via mailing list)
Attachment: top_block.py (8 KB)
Am getting the following error when trying to run a GRC flowgraph that
loads FFT filter taps from an external file. The type filter parameter
is set to complex->complex (complex taps).

The flow graph has imported numpy. The taps are loaded using:

numpy.fromfile('/home/tom/Desktop/EchoScreencaps/chirp-down-20-20-131072',
numpy.complex64)

as the taps parameter. What does the error below mean?

GRC: v3.7.4git-101-g76970d54
Ubuntu 13.10
top_block.py is attached.


-- Tom, N5EG



Traceback (most recent call last):
 File "/home/tom/Desktop/EchoScreencaps/top_block.py", line 173, in
<module>
 tb = top_block()
 File "/home/tom/Desktop/EchoScreencaps/top_block.py", line 115, in
__init__
 self.fft_filter_xxx_0 = filter.fft_filter_ccc(1,
(numpy.fromfile('/home/tom/Desktop/EchoScreencaps/chirp-down-20-20-131072',
numpy.complex64)), 1)
 File
"/usr/local/lib/python2.7/dist-packages/gnuradio/filter/filter_swig.py",
line 1329, in make
 return _filter_swig.fft_filter_ccc_make(*args, **kwargs)
TypeError: in method 'fft_filter_ccc_make', argument 2 of type
'std::vector< gr_complex,std::allocator< gr_complex > > const &'
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.