GNU Radio's DPD Package
gain_phase_calibrate.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2020 Alekh Gupta
4  *
5  * SPDX-License-Identifier: GPL-3.0-or-later
6  */
7 
8 #ifndef INCLUDED_DPD_GAIN_PHASE_CALIBRATE_H
9 #define INCLUDED_DPD_GAIN_PHASE_CALIBRATE_H
10 
11 #include <gnuradio/block.h>
12 #include <dpd/api.h>
13 
14 namespace gr {
15 namespace dpd {
16 
17 /*!
18  * \brief Removes the gain from the Power Amplifier Output to calibrate it
19  * for error calculation with the predistorter output (input to PA).
20  * \ingroup dpd
21  *
22  * \details
23  * It has three input ports, of which, first is the PA_DPD to be calibrated
24  * and the other two inputs, i.e., Input Sample and PA_Output are used to
25  * calculate the inverse gain multiplier.
26  *
27  * Both Input and Output Ports are only for Complex Data Type.
28  */
29 class DPD_API gain_phase_calibrate : virtual public gr::block
30 {
31 public:
32  typedef boost::shared_ptr<gain_phase_calibrate> sptr;
33 
34  /*!
35  * \brief Make gain_phase_calibrate block
36  *
37  */
38  static sptr make();
39 };
40 
41 } // namespace dpd
42 } // namespace gr
43 
44 #endif /* INCLUDED_DPD_GAIN_PHASE_CALIBRATE_H */
Removes the gain from the Power Amplifier Output to calibrate it for error calculation with the predi...
Definition: gain_phase_calibrate.h:29
Definition: gain_phase_calibrate.h:14
#define DPD_API
Definition: api.h:19
boost::shared_ptr< gain_phase_calibrate > sptr
Definition: gain_phase_calibrate.h:32