[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Accessing Filter Kernels in Python

From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Accessing Filter Kernels in Python
Date: Tue, 19 May 2015 09:28:26 -0400

On Mon, May 18, 2015 at 10:14 PM, Ben Peiffer <address@hidden> wrote:

I am looking for help in using the filter kernels in python.  In particular, I want to use the filter.kernel.fir_filter_fff.

Is this even possible?  I have poked around quite a bit and have not been able to figure out how to properly import/use the kernels from python.  I hope this question isn’t too vague, I can try to provide more details if needed.


Hi Ben,

The kernels are not exported through to Python. They aren't really designed for that, though I can see them being useful. If you want to experiment with it and let us know how it works for you, you just need to add a '#include "gnuradio/filter/fir_filter.h"' and '%include "gnuradio/filter/fir_filter.h"' to filter_swig.i and rebuild. You can also do this with the fft_filter.h to get that class of filters, too.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]