From GNU Radio
Jump to navigation Jump to search

Detect the peak of a signal and repeat every period samples.

If a peak is detected, this block outputs a 1 repeated every period samples until reset by detection of another 1 on the input or stopped after Max Regen Count regenerations have occurred.


The number of samples between regenerations.
Max Regen Count
The maximum number of regenerations to perform; if set to -1 or ULONG_MAX, it will regenerate continuously.

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

C++ files
Header files
Public header files
Block definition