[Peak Detect]

- added more parameter

git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@460 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-05-25 05:41:50 +00:00
parent 045de0c155
commit f0b29e0e6e
4 changed files with 55 additions and 23 deletions
+5 -4
View File
@@ -44,6 +44,10 @@ namespace jay {
};
float m_framerate;
float m_peak_height_min;
int m_peak_width_min;
int m_peak_width_max;
float m_alpha_s;
float m_alpha_m;
float *m_pPeakData;
@@ -57,11 +61,8 @@ namespace jay {
uint64_t m_frameCount;
pmt::pmt_t m_tag_id;
const int PB_MIN = 5;
const int PB_MAX = 37;
public:
peak_detect_impl(float alpha_s, float alpha_m, int vlen);
peak_detect_impl(int vlen, float framerate, float peak_height_min, int peak_width_min, int peak_width_max, float alpha_s, float alpha_m);
~peak_detect_impl();
// Where all the action really happens