SPUC
3.0
|
template class fir_decim based on FIR class More...
#include <fir_interp.h>
Public Member Functions | |
void | skip () |
if set, automaticaly increment phase More... | |
void | set_rate (long r) |
Set interpolation rate. More... | |
void | set_automatic (void) |
void | set_manual (int def_phase=0) |
fir_interp (const char *i) | |
Constructor. More... | |
fir_interp (void) | |
fir_interp (long n) | |
void | reset () |
Coeff | coeff_sum () |
void | input (Numeric in) |
Numeric | clock (long set_phase) |
Explicitly set the phase. More... | |
Numeric | clock (void) |
![]() | |
void | settap (long i, Coeff tap) |
Set tap weights. More... | |
void | settaps (fir_coeff< Coeff > &c) |
long | number_of_taps () |
Coeff | gettap (long i) |
void | reset () |
Reset. More... | |
Coeff | coeff_sum () |
Get sum of coefficients. More... | |
void | normalize_gain () |
void | make_hpf () |
Numeric | out () |
Get current output. More... | |
Numeric | check (long i) |
Clock in new sample & compute current output. More... | |
void | set_round_bits (long x) |
~fir (void) | |
fir (void) | |
Constructor. More... | |
fir (long n, long rb=0) | |
Constructor. More... | |
fir (fir_coeff< Coeff > C) | |
Constructor. More... | |
void | set_size (long n) |
Set size of Filter. More... | |
long | get_size (void) |
fir (const char *file) | |
Constructor that gets coefficients from file (requires fir.cpp) More... | |
Numeric | clock (Numeric in) |
Update filter by inputting 1 sample and returning convolved output sample. More... | |
Numeric | update (Numeric in) |
Numeric | iir (Numeric in) |
int | read_taps (const char *file) |
void | print (void) |
void | settap (std::vector< Coeff > z) |
Public Attributes | |
long | num_low |
long | rate |
long | phase |
upsampling rate More... | |
long | auto_mode |
current polyphase phase More... | |
![]() | |
std::vector< Coeff > | coeff |
std::vector< Numeric > | z |
Numeric | output |
quantiser< Numeric > | Q |
long | num_taps |
Additional Inherited Members | |
![]() | |
typedef base_type< Numeric >::btype | Numeric_base |
typedef mixed_type< Numeric, Coeff >::dtype | sum_type |
template class fir_decim based on FIR class
created to support polyphase FIR interpolation
|
inline |
Constructor.
|
inline |
|
inline |
|
inline |
Explicitly set the phase.
Referenced by SPUC::qam_tx< float_type >::clock(), and SPUC::quad_data< float_type >::get_fir_output().
|
inline |
Phase increments when in automatic mode Otherwise phase does not change
Referenced by SPUC::fir_interp< SPUC::complex< CNumeric >, float_type >::clock().
|
inline |
|
inline |
Referenced by SPUC::qam_tx< float_type >::clock(), and SPUC::quad_data< float_type >::get_fir_output().
|
inline |
Referenced by SPUC::qam_tx< float_type >::loop_init().
|
inline |
Referenced by SPUC::qam_tx< float_type >::loop_init(), and SPUC::quad_data< float_type >::quad_data().
|
inline |
|
inline |
Set interpolation rate.
Referenced by SPUC::qam_tx< float_type >::loop_init(), and SPUC::quad_data< float_type >::quad_data().
|
inline |
if set, automaticaly increment phase
Skip output sample but increment phase
long SPUC::fir_interp< Numeric, Coeff >::auto_mode |
current polyphase phase
long SPUC::fir_interp< Numeric, Coeff >::num_low |
long SPUC::fir_interp< Numeric, Coeff >::phase |
upsampling rate
Referenced by SPUC::quad_data< float_type >::get_fir_output().
long SPUC::fir_interp< Numeric, Coeff >::rate |