Changeset 8966
- Timestamp:
- 07/21/08 18:07:51
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/trunk/gnuradio-core/src/lib/general/gr_costas_loop_cc.cc
r6044 r8966 86 86 } 87 87 88 void 89 gr_costas_loop_cc::set_alpha(float alpha) 90 { 91 d_alpha = alpha; 92 } 93 94 void 95 gr_costas_loop_cc::set_beta(float beta) 96 { 97 d_beta = beta; 98 } 99 88 100 int 89 101 gr_costas_loop_cc::work (int noutput_items, gnuradio/trunk/gnuradio-core/src/lib/general/gr_costas_loop_cc.h
r7504 r8966 96 96 float phase_detector_4(gr_complex sample) const; // for QPSK 97 97 98 /*! \br eif the phase detector circuit for second-order loops98 /*! \brief the phase detector circuit for second-order loops 99 99 * \param a complex sample 100 100 * \return the phase error … … 107 107 public: 108 108 109 /*! \brief set the first order gain 110 * \param alpha 111 */ 112 void set_alpha(float alpha); 113 114 /*! \brief get the first order gain 115 * 116 */ 117 float alpha() const { return d_alpha; } 118 119 /*! \brief set the second order gain 120 * \param beta 121 */ 122 void set_beta(float beta); 123 124 /*! \brief get the second order gain 125 * 126 */ 127 float beta() const { return d_beta; } 128 109 129 int work (int noutput_items, 110 130 gr_vector_const_void_star &input_items, gnuradio/trunk/gnuradio-core/src/lib/general/gr_costas_loop_cc.i
r6044 r8966 35 35 gr_costas_loop_cc (float alpha, float beta, 36 36 float max_freq, float min_freq, int order); 37 38 public: 39 void set_alpha(float alpha); 40 float alpha(); 41 void set_beta(float beta); 42 float beta(); 43 37 44 };
