discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] How to make an FFT block in c++


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] How to make an FFT block in c++
Date: Fri, 1 Nov 2013 17:01:23 -0400

On Fri, Nov 1, 2013 at 4:42 PM, Tommy Tracy II <address@hidden> wrote:
> You’re right; the following syntax is the least ambiguous for creating
> Blackmanharris windows in c++:
>
> const std::vector< float >  fft_window =
> gr::filter::firdes::window(gr::filter::firdes::WIN_BLACKMAN_HARRIS, 1024,
> NULL);

I'm actually going to update that to have a default argument for beta,
so you don't even need to set anything if you aren't using a Kaiser
window.

Tom



> Sincerely,
> Tommy James Tracy II
> Ph.D Student
> High Performance Low Power Lab
> University of Virginia
> Phone: 913-775-2241
>
> On Nov 1, 2013, at 6:04 AM, Alexandru Csete <address@hidden> wrote:
>
> On Fri, Nov 1, 2013 at 6:16 AM, Tommy Tracy II <address@hidden> wrote:
>
> Thanks a lot. I do have a question about the 6.67 that you pass to the
> gr::firdes::window(gr::filter::firdes::WIN_BLACKMAN_HARRIS, SIZE, 6.67);
>
> What is the importance of this value? Is this the default BETA? I found that
> when creating a BLACKMANHARRIS window in python and c++, I got two different
> results.
>
>
> If I recall correctly that parameter is only used for the Kaiser
> window and not for the others.
>
> Alex
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>



reply via email to

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