aboutsummaryrefslogtreecommitdiffstats
path: root/lib/receiver/receiver_impl.h
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2016-08-29 07:38:25 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2016-08-29 07:38:25 +0200
commitd61f85ba6dfa64909df32e4927e7acf35f2d1d1f (patch)
tree33ca3b2ddf6bcd3dcdb57dcb07f5ad5516eb3b76 /lib/receiver/receiver_impl.h
parent0a932e638d7e365598d26b3fe1c4b84614cac938 (diff)
Changed method of frequency estimation
Diffstat (limited to 'lib/receiver/receiver_impl.h')
-rw-r--r--lib/receiver/receiver_impl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/receiver/receiver_impl.h b/lib/receiver/receiver_impl.h
index c8d71f9..eb406f3 100644
--- a/lib/receiver/receiver_impl.h
+++ b/lib/receiver/receiver_impl.h
@@ -36,6 +36,10 @@ namespace gr {
private:
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
@@ -108,6 +112,8 @@ 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
/** Computes angle between two complex numbers
*
* @param val1 first complex number