GNU Radio 3.6.5 C++ API

gr_peak_detector_sb.h File Reference

#include <gr_core_api.h>
#include <gr_sync_block.h>

Go to the source code of this file.

Classes

class  gr_peak_detector_sb
 Detect the peak of a signalIf a peak is detected, this block outputs a 1, or it outputs 0's. More...

Functions

GR_CORE_API
gr_peak_detector_sb_sptr 
gr_make_peak_detector_sb (float threshold_factor_rise=0.25, float threshold_factor_fall=0.40, int look_ahead=10, float alpha=0.001)

Function Documentation

GR_CORE_API gr_peak_detector_sb_sptr gr_make_peak_detector_sb ( float  threshold_factor_rise = 0.25,
float  threshold_factor_fall = 0.40,
int  look_ahead = 10,
float  alpha = 0.001 
)