discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] shift param in FFT block in GRC


From: Martin Braun
Subject: Re: [Discuss-gnuradio] shift param in FFT block in GRC
Date: Tue, 12 Jun 2012 11:00:19 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jun 12, 2012 at 08:19:21PM +1200, John Shields wrote:
> When I add a FFT block in the GRC (gr_fft_vxx if I understand things
> correctly) I am offered a boolean parameter 'shift'. When I attempt
> to discern the code, there is a comment:
> 
>    // apply a fft shift on the data  - for the fwd FFT and
>    // apply an ifft shift on the data  - for reverse.
> 
> What does this parameter do?

It applies an FFT shift on the data for the forward FFT and an IFFT
shift on the data for reverse FFT.

Did that help?

If not, a quick Google search for 'fft shift' explains that this moves
the DC carrier to the centre of the spectrum (instead of the far left).

MB

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpHpj68LDFtr.pgp
Description: PGP signature


reply via email to

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