itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
sim_iq2ap.hpp
1 /*xxx
2 * \brief - SIM::iq2ap - IQ to amplitude/phase
3 * \author maki
4 */
5 
6 
7 #ifndef SIM_IQ2AP_HPP
8 #define SIM_IQ2AP_HPP
9 
10 #include <complex>
11 
12 #include <itpp/itbase.h>
13 
14 using namespace itpp;
15 using namespace std;
16 
17 namespace SIM
18 {
19 
27 class iq2ap
28 {
29  vec y0;
30 
31 public:
32 
34  {
35  y0.set_length(2);
36  y0(0) = 0.0;
37  y0(1) = 0.0;
38  };
39 
40  ~iq2ap()
41  {
42  };
43 
47  void set_output(vec yout);
48 
52  vec get_output(void);
53 
59  mat process(const bvec &ce, const cvec &x);
60 };
61 
62 } // namespace SIM
63 #endif //SIM_IQ2AP_HPP
64 
~iq2ap()
Definition: sim_iq2ap.hpp:40
iq2ap()
Definition: sim_iq2ap.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
I,Q to amplitude,phase converter Core function SIM::iq2ap.process() .
Definition: sim_iq2ap.hpp:27