21#ifndef INCLUDED_LORA_SDR_MU_DETECTION_IMPL_H
22#define INCLUDED_LORA_SDR_MU_DETECTION_IMPL_H
58 uint32_t m_samples_per_symbol;
64 float m_snr_threshold;
79 std::vector<gr_complex>
82 std::vector<gr_complex> m_downchirp;
83 std::vector<std::vector<gr_complex>>
85 std::vector<std::vector<float>>
88 std::vector<float> m_dft_mag_prod;
102 std::vector<gr_complex>
105 std::vector<gr_complex>
107 std::vector<gr_complex>
110 std::vector<gr_complex> m_mf_conv_out;
112 std::vector<std::vector<float>>
119 std::vector<gr_complex> m_dechirped;
125 std::vector<gr_complex> m_fft;
133 void estimate_CFO_frac(
int delay);
141 void add_user_tag(
int input_symb);
146 void noise_handler(pmt::pmt_t
noise_est);
149 std::ofstream out_file;
150 int m_matched_filter_en;
174 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
186 gr_vector_const_void_star &input_items,
187 gr_vector_void_star &output_items);
Definition: mu_detection_impl.h:50
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
mu_detection_impl(uint8_t sf, uint8_t os_factor, int snr_threshold)
Construct a new mu detection impl object.
~mu_detection_impl()
Destroy the mu detection impl object.
Definition: mu_detection.h:37
Definition: noise_est.h:37
Definition: mu_detection_impl.h:38
long sto_int
Definition: mu_detection_impl.h:40
double power
Definition: mu_detection_impl.h:46
long cfo_int
Definition: mu_detection_impl.h:42
double sto_frac
Definition: mu_detection_impl.h:41
int s_up
Definition: mu_detection_impl.h:44
double cfo_frac
Definition: mu_detection_impl.h:43
int s_down
Definition: mu_detection_impl.h:45
double snr
Definition: mu_detection_impl.h:47