SPUC  3.0
Public Member Functions | Public Attributes | List of all members
SPUC::resampler< Numeric > Class Template Reference

A resampling block using interpolator, halfband filter and NCO. More...

#include <resampler.h>

Collaboration diagram for SPUC::resampler< Numeric >:
Collaboration graph
[legend]

Public Member Functions

 resampler (void)
 Halfband filter (decimate by 2) More...
 
Numeric update (Numeric input_data, long symbol_loop, long sym_clk)
 

Public Attributes

bool ready
 
long sample2
 
lagrange< Numeric > interp
 
timing_nco symbol_nco
 
Numeric resampled
 Symbol NCO. More...
 
iir_allpass1_halfband< Numeric > half
 

Detailed Description

template<class Numeric>
class SPUC::resampler< Numeric >

A resampling block using interpolator, halfband filter and NCO.

Resampling block This class uses an interpolator a halfband filter (for decimating by 2) and a NCO samples are input with each call to update, but output samples are available when the ready bit is set The halfband filter is a simple IIR filter based on two first order allpass filters. The interpolator is a Lagrange interpolating FIR

Author
Tony Kirke

Constructor & Destructor Documentation

template<class Numeric>
SPUC::resampler< Numeric >::resampler ( void  )
inline

Halfband filter (decimate by 2)

Member Function Documentation

template<class Numeric>
Numeric SPUC::resampler< Numeric >::update ( Numeric  input_data,
long  symbol_loop,
long  sym_clk 
)
inline

Member Data Documentation

template<class Numeric>
iir_allpass1_halfband<Numeric> SPUC::resampler< Numeric >::half
template<class Numeric>
lagrange<Numeric> SPUC::resampler< Numeric >::interp
template<class Numeric>
bool SPUC::resampler< Numeric >::ready
template<class Numeric>
Numeric SPUC::resampler< Numeric >::resampled

Symbol NCO.

template<class Numeric>
long SPUC::resampler< Numeric >::sample2
template<class Numeric>
timing_nco SPUC::resampler< Numeric >::symbol_nco

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