I was implementing the two functions from blks2/pfb_arb_resampler.py
in C++ and I noticed that the python code crashes for some reason. I
was trying it using the attached GRC file.
I think the C++ code itself is fine because it works with my C++
implementation of pfb_arb_resampler_ccf and pfb_arb_resampler_fff, so
the problem must be at the python level. One of the differences
between my C++ implementation and the python code is that I use
gr_firdes for generating the taps instead of optfir.
On Sun, May 13, 2012 at 11:33 AM, Alexandru C. [email protected]
wrote:
Alex
Yes, must be something with optfir producing badly formed taps in this
case. Can you create your own taps in the GRC graph and pass them to
the block?
it’s in there, its the gr_optfir*. It has a few bug-fixes from the
python code.
Yes, we’ll hopefully be moving this in soon. I have to take another
look at the branch you’ve been working on. I’ve been working on
gr-filter, moving all filter related materials to a new top-level
component and converting to Volk for as much as possible. This might
just move right into there.
Hopefully, this will fix the problem Alex has been having. It would be
nice to know more about what’s going on, though. It might just be
returning an empty vector or throwing an error that’s not being
handled properly. We should try to fix/handle those errors properly
regardless of it being Python/C++.