aboutsummaryrefslogtreecommitdiffstats
path: root/lib/receiver/receiver_impl.h
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2017-01-18 21:53:17 +0100
committerPiotr Krysik <ptrkrysik@gmail.com>2017-01-18 21:53:17 +0100
commit9bc0fc0c59367a39dbba33736c7803de7423c82d (patch)
tree9fad342b47b4385a03af3ce32d2e72488442ab15 /lib/receiver/receiver_impl.h
parent01f9c1975e5999a51980e502bfd2c9e90bc33c68 (diff)
Changed frequency estimator to the old one that worked better
Diffstat (limited to 'lib/receiver/receiver_impl.h')
-rw-r--r--lib/receiver/receiver_impl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/receiver/receiver_impl.h b/lib/receiver/receiver_impl.h
index eb406f3..251cf55 100644
--- a/lib/receiver/receiver_impl.h
+++ b/lib/receiver/receiver_impl.h
@@ -37,9 +37,6 @@ namespace gr {
unsigned int d_c0_burst_start;
float d_c0_signal_dbm;
- lv_32fc_t* d_freq_estim_vector;// = (lv_32fc_t*)volk_malloc(sizeof(lv_32fc_t)*160, alignment);
- lv_32fc_t* d_freq_estim_result;// = (lv_32fc_t*)volk_malloc(sizeof(lv_32fc_t)*1, alignment);
-
/**@name Configuration of the receiver */
//@{
const int d_OSR; ///< oversampling ratio
@@ -112,8 +109,7 @@ namespace gr {
*/
double compute_freq_offset(const gr_complex * input, unsigned first_sample, unsigned last_sample);
- double estim_freq_norm(const gr_complex * input, unsigned first_sample, unsigned last_sample); //another frequency estimator
- double estim_freq_norm2(const gr_complex * input, unsigned first_sample, unsigned last_sample); //another frequency estimator
+ double estim_freq_norm(const gr_complex * input, unsigned first_sample, unsigned last_sample); //normalized frequency estimator
/** Computes angle between two complex numbers
*
* @param val1 first complex number