gr_costas_loop_cc Class Reference
[Signal Clock Synchronization]

Carrier tracking PLL for QPSK

input: complex; output: complex
The Costas loop can have two output streams: stream 1 is the baseband I and Q; stream 2 is the normalized frequency of the loop. More...

#include <gr_costas_loop_cc.h>

Inheritance diagram for gr_costas_loop_cc:

Inheritance graph
[legend]
Collaboration diagram for gr_costas_loop_cc:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void set_alpha (float alpha)
 set the first order gain
float alpha () const
 get the first order gain
void set_beta (float beta)
 set the second order gain
float beta () const
 get the second order gain
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 just like gr_block::general_work, only this arranges to call consume_each for you

Friends

gr_costas_loop_cc_sptr gr_make_costas_loop_cc (float alpha, float beta, float max_freq, float min_freq, int order) throw (std::invalid_argument)


Detailed Description

Carrier tracking PLL for QPSK

input: complex; output: complex
The Costas loop can have two output streams: stream 1 is the baseband I and Q; stream 2 is the normalized frequency of the loop.

order must be 2 or 4.


Member Function Documentation

float gr_costas_loop_cc::alpha (  )  const [inline]

get the first order gain

float gr_costas_loop_cc::beta (  )  const [inline]

get the second order gain

void gr_costas_loop_cc::set_alpha ( float  alpha  ) 

set the first order gain

Parameters:
alpha 

void gr_costas_loop_cc::set_beta ( float  beta  ) 

set the second order gain

Parameters:
beta 

int gr_costas_loop_cc::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
) [virtual]

just like gr_block::general_work, only this arranges to call consume_each for you

The user must override work to define the signal processing code

Implements gr_sync_block.


Friends And Related Function Documentation

gr_costas_loop_cc_sptr gr_make_costas_loop_cc ( float  alpha,
float  beta,
float  max_freq,
float  min_freq,
int  order 
) throw (std::invalid_argument) [friend]


The documentation for this class was generated from the following file:

Generated on Thu Mar 5 09:02:35 2009 for GNU Radio 3.1.3 by  doxygen 1.5.8