diff options
author | Brennan Ashton <bashton@brennanashton.com> | 2018-04-06 15:00:36 -0700 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-06-25 20:59:56 +0200 |
commit | 28c1644e663b744417d3712f588dcadb98700f40 (patch) | |
tree | c41c58702ea308763bce778c34f814f8646fc702 /gr-digital/lib/corr_est_cc_impl.h | |
parent | 0c4e231953c6ac62a1dede2c7ba63a4c3a6b3f43 (diff) |
Restore ability to use absolute thresholding with corr_est
Diffstat (limited to 'gr-digital/lib/corr_est_cc_impl.h')
-rw-r--r-- | gr-digital/lib/corr_est_cc_impl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-digital/lib/corr_est_cc_impl.h b/gr-digital/lib/corr_est_cc_impl.h index e0d4c8ef25..75f9e2c700 100644 --- a/gr-digital/lib/corr_est_cc_impl.h +++ b/gr-digital/lib/corr_est_cc_impl.h @@ -47,13 +47,16 @@ namespace gr { float d_scale; float d_pfa; // probability of false alarm + tm_type d_threshold_method; + void _set_mark_delay(unsigned int mark_delay); void _set_threshold(float threshold); public: corr_est_cc_impl(const std::vector<gr_complex> &symbols, float sps, unsigned int mark_delay, - float threshold=0.9); + float threshold=0.9, + tm_type threshold_method=THRESHOLD_ABSOLUTE); ~corr_est_cc_impl(); std::vector<gr_complex> symbols() const; |