diff options
Diffstat (limited to 'gr-blocks/grc/blocks_peak_detector2_fb.block.yml')
-rw-r--r-- | gr-blocks/grc/blocks_peak_detector2_fb.block.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_peak_detector2_fb.block.yml b/gr-blocks/grc/blocks_peak_detector2_fb.block.yml new file mode 100644 index 0000000000..0950640ae2 --- /dev/null +++ b/gr-blocks/grc/blocks_peak_detector2_fb.block.yml @@ -0,0 +1,38 @@ +id: blocks_peak_detector2_fb +label: Peak Detector2 + +parameters: +- id: threshold_factor_rise + label: TH Factor Rise + dtype: real + default: '7' +- id: look_ahead + label: Look Ahead + dtype: int + default: '1000' +- id: alpha + label: Alpha + dtype: real + default: '0.001' + +inputs: +- domain: stream + dtype: float + +outputs: +- domain: stream + dtype: byte +- label: debug + domain: stream + dtype: float + optional: true + +templates: + imports: from gnuradio import blocks + make: blocks.peak_detector2_fb(${threshold_factor_rise}, ${look_ahead}, ${alpha}) + callbacks: + - set_threshold_factor_rise(${threshold_factor_rise}) + - set_look_ahead(${look_ahead}) + - set_alpha(${alpha}) + +file_format: 1 |