RFNoC Log-Power Block

From GNU Radio
Jump to navigation Jump to search

This block takes in signed 16-bit complex samples and computes an estimate of 1024 * log2(i^2+q^2), and puts the result in the upper 16-bits of each 32-bit output item. The log is estimated using a lookup table and random noise is may be added to reduce quantization effects (this feature is enabled at bitstream synthesis time).

Parameters

(R): Run-time adjustable

Number of Channels
default: 1
Device Select
default: -1
Instance Select
default: -1

Example Flowgraph

Example Output

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
uhd_rfnoc_logpwr.block.yml