Difference between revisions of "FFT"
From GNU Radio
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[Category:Block Docs]] | ||
+ | This block takes in a vector of floats or complex values and calculates the FFT. If all you do is want to see the frequency domain of a signal, the [[QT GUI Frequency Sink]] is more user friendly. | ||
+ | == Parameters == | ||
+ | |||
+ | # '''FFT Size''': Number of samples used in each FFT calculation, which also determines how many points are in the output. | ||
+ | # '''Forward/Reverse''': Whether to do an FFT or IFFT. | ||
+ | # '''Window''': Type of window to apply to each set of samples before the FFT is taken, default is a blackmanharris window. The argument of the window.blackmanharris() function is simply how many points in the window, which must match the FFT size. | ||
+ | # '''Shift''': Whether or not to do an "fft shift" which puts DC (0 Hz) in the center. If you are not sure what this means, leave it set to Yes. | ||
+ | # '''Num Threads''': Number of threads to assign to perform the FFTs. | ||
== Example Flowgraph == | == Example Flowgraph == |
Revision as of 23:56, 3 May 2019
This block takes in a vector of floats or complex values and calculates the FFT. If all you do is want to see the frequency domain of a signal, the QT GUI Frequency Sink is more user friendly.
Parameters
- FFT Size: Number of samples used in each FFT calculation, which also determines how many points are in the output.
- Forward/Reverse: Whether to do an FFT or IFFT.
- Window: Type of window to apply to each set of samples before the FFT is taken, default is a blackmanharris window. The argument of the window.blackmanharris() function is simply how many points in the window, which must match the FFT size.
- Shift: Whether or not to do an "fft shift" which puts DC (0 Hz) in the center. If you are not sure what this means, leave it set to Yes.
- Num Threads: Number of threads to assign to perform the FFTs.
Example Flowgraph
This flowgraph shows how the FFT block can be used to reproduce the behavior of the QT GUI Frequency Sink block.