Log Power FFT: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Block Docs Category:Stub Docs This is the template for the "Page-per-block Docs". This first section should describe what the block...") |
(Fixed scaling) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[Category:Block Docs]] | ||
Create a log<sub>10</sub>(|fft|²) stream chain, with real or complex input. | |||
== Parameters == | == Parameters == | ||
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span> | (''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span> | ||
; | ; FFT Size | ||
: | : Number of FFT bins | ||
; Reference Scale | |||
: Sets 0 dB value input amplitude | |||
; Frame Rate | |||
: Output frame rate | |||
; Average (''R'') | |||
: Whether to average [True, False] | |||
; | ; Average Alpha (''R'') | ||
: | : FFT averaging (over time) constant [0.0-1.0] | ||
== Example Flowgraph == | == Example Flowgraph == | ||
Line 20: | Line 26: | ||
== Source Files == | == Source Files == | ||
; | ; Python Source | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/267d669eb21c514c18a6ee979f5cf247d251f1ad/gr-fft/python/fft/logpwrfft.py Here] | ||
; Block definition | ; Block definition | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/267d669eb21c514c18a6ee979f5cf247d251f1ad/gr-fft/grc/fft_logpwrfft_x.block.yml Here] |
Latest revision as of 10:00, 4 November 2022
Create a log10(|fft|²) stream chain, with real or complex input.
Parameters
(R): Run-time adjustable
- FFT Size
- Number of FFT bins
- Reference Scale
- Sets 0 dB value input amplitude
- Frame Rate
- Output frame rate
- Average (R)
- Whether to average [True, False]
- Average Alpha (R)
- FFT averaging (over time) constant [0.0-1.0]
Example Flowgraph
Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
Source Files
- Python Source
- Here
- Block definition
- Here