itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
sim_cofdm_sel.hpp
1 /*xxx
2 * \brief - SIM::cofdm_sel - carriers selector
3 * \author maki
4 */
5 
6 #ifndef COFDM_SEL_HPP
7 #define COFDM_SEL_HPP
8 
9 #include <complex>
10 #include <itpp/itbase.h>
11 #include <itpp/itcomm.h>
12 #include "sim\_sim_extension.hpp"
13 
14 using namespace itpp;
15 using namespace std;
16 
17 namespace SIM
18 {
19 
25 class cofdm_sel
26 {
27 private:
28  cvec carriers;
29  int NFFT;
30  ivec sel_carriers;
31 
32 public:
33  cvec y0;
34 
36  {
37  NFFT = 256;
38  carriers.set_size(NFFT);
39  carriers.set_size(NFFT);
40  };
41 
43  {
44  };
45 
49  void set_NFFT(int n);
50 
54  void set_carriers_selector(ivec c_indx);
55 
59  void set_carriers(cvec c);
60 
61  //
65  cvec get_selected_carriers();
66 
72  cmat process(const bvec &ce, const cmat &x);
73 
74 };
75 
76 
77 }
78 #endif //SIM_cofdm_mod
COFDM carriers selector Core immediate functions SIM::cofdm_sel.set_carriers() SIM::cofdm_sel.get_selected_carriers() Core clocked functions SIM::cofdm_sel.process() .
Definition: sim_cofdm_sel.hpp:25
cvec y0
y0[i] - QAM/PILOTS/ZERRO carriers selected
Definition: sim_cofdm_sel.hpp:33
SIM layer implements low level simulation models with itpp base classes as operational types...
Definition: sim_amp.hpp:15
Definition: _sci_assert.cpp:35
cofdm_sel()
Definition: sim_cofdm_sel.hpp:35
~cofdm_sel()
Definition: sim_cofdm_sel.hpp:42