RFNoC Moving Average Block

From GNU Radio
Revision as of 12:53, 2 November 2023 by Duggabe (talk | contribs) (initial creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Computes the running average of an input data stream. That is, the output of this block is the sum of the SUM_LENGTH most recent input values divided by a DIVISOR value. The I and Q averages are handled separately so that each output consists of the average of the I inputs in the I output position and the average of the Q inputs in the Q output position.

Parameters

(R): Run-time adjustable

Block Args
default: ""
Device Select
default: -1
Instance Select
default: -1
Sum Length
default: 10
Divisor
default: 10

Example Flowgraph

Example Output

Source Files

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