Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SPUC::fir_interp< Numeric > Class Template Reference
[FIR filters, Interpolation filters]

template class fir_decim based on FIR class, created to support polyphase FIR interpolation More...

#include <fir_interp.h>

Inheritance diagram for SPUC::fir_interp< Numeric >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

void skip ()
 Skip output sample but increment phase.
void set_rate (long r)
 Set interpolation rate.
void set_automatic (void)
void set_manual (int def_phase=0)
 fir_interp (const char *i)
 Constructor.
 fir_interp (void)
 fir_interp (long n)
void reset ()
 Reset.
Numeric coeff_sum ()
 Get sum of coefficients.
void input (Numeric in)
Numeric clock (long set_phase)
 Explicitly set the phase.
Numeric clock (void)

Public Attributes

long num_low
long rate
long phase
 upsampling rate
long auto_mode
 current polyphase phase

Detailed Description

template<class Numeric>
class SPUC::fir_interp< Numeric >

template class fir_decim based on FIR class, created to support polyphase FIR interpolation


Constructor & Destructor Documentation

template<class Numeric>
SPUC::fir_interp< Numeric >::fir_interp (  const char *  i  )  [inline]
 

Constructor.

template<class Numeric>
SPUC::fir_interp< Numeric >::fir_interp (  void   )  [inline]
 

template<class Numeric>
SPUC::fir_interp< Numeric >::fir_interp (  long  n  )  [inline]
 


Member Function Documentation

template<class Numeric>
Numeric SPUC::fir_interp< Numeric >::clock (  void   )  [inline]
 

Phase increments when in automatic mode Otherwise phase does not change

template<class Numeric>
Numeric SPUC::fir_interp< Numeric >::clock (  long  set_phase  )  [inline]
 

Explicitly set the phase.

template<class Numeric>
Numeric SPUC::fir_interp< Numeric >::coeff_sum (   )  [inline]
 

Get sum of coefficients.

Reimplemented from SPUC::fir< Numeric >.

template<class Numeric>
void SPUC::fir_interp< Numeric >::input (  Numeric  in  )  [inline]
 

template<class Numeric>
void SPUC::fir_interp< Numeric >::reset (  void   )  [inline]
 

Reset.

Reimplemented from SPUC::fir< Numeric >.

template<class Numeric>
void SPUC::fir_interp< Numeric >::set_automatic (  void   )  [inline]
 

template<class Numeric>
void SPUC::fir_interp< Numeric >::set_manual (  int  def_phase = 0  )  [inline]
 

template<class Numeric>
void SPUC::fir_interp< Numeric >::set_rate (  long  r  )  [inline]
 

Set interpolation rate.

template<class Numeric>
void SPUC::fir_interp< Numeric >::skip (   )  [inline]
 

Skip output sample but increment phase.


Member Data Documentation

template<class Numeric>
long SPUC::fir_interp< Numeric >::auto_mode
 

current polyphase phase

template<class Numeric>
long SPUC::fir_interp< Numeric >::num_low
 

template<class Numeric>
long SPUC::fir_interp< Numeric >::phase
 

upsampling rate

template<class Numeric>
long SPUC::fir_interp< Numeric >::rate
 


The documentation for this class was generated from the following file:
Generated on Fri Sep 16 11:08:52 2005 for spuc by  doxygen 1.4.4