SPUC
3.0
|
template class for fir decimation based on FIR class More...
#include <fir_decim.h>
Public Member Functions | |
fir_decim (void) | |
Constructor. More... | |
fir_decim (long n) | |
fir_decim (const char *file) | |
void | input (Numeric in) |
Numeric | decim (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) |
Additional Inherited Members | |
![]() | |
typedef base_type< Numeric >::btype | Numeric_base |
typedef mixed_type< Numeric, Coeff >::dtype | sum_type |
![]() | |
std::vector< Coeff > | coeff |
std::vector< Numeric > | z |
Numeric | output |
quantiser< Numeric > | Q |
long | num_taps |
template class for fir decimation based on FIR class
created to support polyphase FIR decimation
|
inline |
Constructor.
|
inline |
|
inline |
|
inline |
Phase increments when in automatic mode Otherwise phase does not change
References SPUC::fir< Numeric, Coeff >::coeff, SPUC::fir< Numeric, Coeff >::num_taps, SPUC::fir< Numeric, Coeff >::output, SPUC::fir< Numeric, Coeff >::Q, and SPUC::fir< Numeric, Coeff >::z.
Referenced by SPUC::notch_example().
|
inline |
References SPUC::fir< Numeric, Coeff >::num_taps, and SPUC::fir< Numeric, Coeff >::z.
Referenced by SPUC::notch_example().