ldas-tools-filters
2.6.5
|
#include <Resample.hh>
Public Member Functions | |
virtual | ~ResampleBase () |
Destructor is virtual so that RTTI can be used. More... | |
int | getP () const |
Gets the resample numerator. More... | |
int | getQ () const |
Gets the resample numerator. More... | |
int | getN () const |
Gets anti-aliasing filter parameters. More... | |
int | getNOrder () const |
Gets anti-aliasing filter parameters. More... | |
double | getBeta () const |
Gets anti-aliasing filter parameters. More... | |
double | getDelay () const |
Gets the delay due to the filtering action. More... | |
virtual ResampleBase * | Clone () const =0 |
Pure virtual constructor. More... | |
bool | operator== (const ResampleBase &rhs) |
Comparison operator. More... | |
virtual void | reset ()=0 |
Reset the internal state to its initial condition. More... | |
virtual | ~ResampleBase () |
Destructor is virtual so that RTTI can be used. More... | |
int | getP () const |
Gets the resample numerator. More... | |
int | getQ () const |
Gets the resample numerator. More... | |
int | getN () const |
Gets anti-aliasing filter parameters. More... | |
int | getNOrder () const |
Gets anti-aliasing filter parameters. More... | |
double | getBeta () const |
Gets anti-aliasing filter parameters. More... | |
double | getDelay () const |
Gets the delay due to the filtering action. More... | |
virtual ResampleBase * | Clone () const =0 |
Pure virtual constructor. More... | |
bool | operator== (const ResampleBase &rhs) |
Comparison operator. More... | |
virtual void | reset ()=0 |
Reset the internal state to its initial condition. More... | |
virtual | ~ResampleBase () |
Destructor is virtual so that RTTI can be used. More... | |
int | getP () const |
Gets the resample numerator. More... | |
int | getQ () const |
Gets the resample numerator. More... | |
int | getN () const |
Gets anti-aliasing filter parameters. More... | |
int | getNOrder () const |
Gets anti-aliasing filter parameters. More... | |
double | getBeta () const |
Gets anti-aliasing filter parameters. More... | |
double | getDelay () const |
Gets the delay due to the filtering action. More... | |
virtual ResampleBase * | Clone () const =0 |
Pure virtual constructor. More... | |
bool | operator== (const ResampleBase &rhs) |
Comparison operator. More... | |
virtual void | reset ()=0 |
Reset the internal state to its initial condition. More... | |
Protected Member Functions | |
ResampleBase (const int p, const int q, const int n, const double beta) | |
General purpose constructor. More... | |
ResampleBase (const int p, const int q) | |
Special purpose constructor. More... | |
ResampleBase (const int p, const int q, const int n, const double beta) | |
General purpose constructor. More... | |
ResampleBase (const int p, const int q) | |
Special purpose constructor. More... | |
ResampleBase (const int p, const int q, const int n, const double beta) | |
General purpose constructor. More... | |
ResampleBase (const int p, const int q) | |
Special purpose constructor. More... | |
Private Member Functions | |
ResampleBase () | |
Private default constructor, left undefined. More... | |
ResampleBase () | |
Private default constructor, left undefined. More... | |
ResampleBase () | |
Private default constructor, left undefined. More... | |
Private Attributes | |
int | m_p |
upsample factor More... | |
int | m_q |
downsample factor More... | |
int | m_n |
filter order parameter (not actual filter order) More... | |
int | m_nOrder |
anti-aliasing filter order More... | |
double | m_beta |
Kaiser window beta. More... | |
double | m_delay |
anti-aliasing filter group delay More... | |
|
virtual |
Destructor is virtual so that RTTI can be used.
|
protected |
General purpose constructor.
[in] | p | upsampling ratio |
[in] | q | downsampling ratio |
[in] | n | filter order: 2*n*max(p, q) is the length of the filter |
[in] | beta | the beta parameter of the Kaiser Window |
invalid_argument | if p or q or n < 1 or beta < 0.0 |
|
protected |
Special purpose constructor.
[in] | p | upsampling ratio |
[in] | q | downsampling ratio |
invalid_argument | if p or q < 1 |
|
private |
Private default constructor, left undefined.
|
virtual |
Destructor is virtual so that RTTI can be used.
|
protected |
General purpose constructor.
[in] | p | upsampling ratio |
[in] | q | downsampling ratio |
[in] | n | filter order: 2*n*max(p, q) is the length of the filter |
[in] | beta | the beta parameter of the Kaiser Window |
invalid_argument | if p or q or n < 1 or beta < 0.0 |
|
protected |
Special purpose constructor.
[in] | p | upsampling ratio |
[in] | q | downsampling ratio |
invalid_argument | if p or q < 1 |
|
private |
Private default constructor, left undefined.
|
virtual |
Destructor is virtual so that RTTI can be used.
|
protected |
General purpose constructor.
[in] | p | upsampling ratio |
[in] | q | downsampling ratio |
[in] | n | filter order: 2*n*max(p, q) is the length of the filter |
[in] | beta | the beta parameter of the Kaiser Window |
invalid_argument | if p or q or n < 1 or beta < 0.0 |
|
protected |
Special purpose constructor.
[in] | p | upsampling ratio |
[in] | q | downsampling ratio |
invalid_argument | if p or q < 1 |
|
private |
Private default constructor, left undefined.
|
pure virtual |
Pure virtual constructor.
Implemented in Filters::Resample< TIn >, Filters::Resample< TIn >, and Filters::Resample< TIn >.
|
pure virtual |
Pure virtual constructor.
Implemented in Filters::Resample< TIn >, Filters::Resample< TIn >, and Filters::Resample< TIn >.
|
pure virtual |
Pure virtual constructor.
Implemented in Filters::Resample< TIn >, Filters::Resample< TIn >, and Filters::Resample< TIn >.
double Filters::ResampleBase::getBeta | ( | ) | const |
Gets anti-aliasing filter parameters.
double Filters::ResampleBase::getBeta | ( | ) | const |
Gets anti-aliasing filter parameters.
double Filters::ResampleBase::getBeta | ( | ) | const |
Gets anti-aliasing filter parameters.
double Filters::ResampleBase::getDelay | ( | ) | const |
Gets the delay due to the filtering action.
double Filters::ResampleBase::getDelay | ( | ) | const |
Gets the delay due to the filtering action.
double Filters::ResampleBase::getDelay | ( | ) | const |
Gets the delay due to the filtering action.
int Filters::ResampleBase::getN | ( | ) | const |
Gets anti-aliasing filter parameters.
int Filters::ResampleBase::getN | ( | ) | const |
Gets anti-aliasing filter parameters.
int Filters::ResampleBase::getN | ( | ) | const |
Gets anti-aliasing filter parameters.
int Filters::ResampleBase::getNOrder | ( | ) | const |
Gets anti-aliasing filter parameters.
int Filters::ResampleBase::getNOrder | ( | ) | const |
Gets anti-aliasing filter parameters.
int Filters::ResampleBase::getNOrder | ( | ) | const |
Gets anti-aliasing filter parameters.
int Filters::ResampleBase::getP | ( | ) | const |
Gets the resample numerator.
|
inline |
Gets the resample numerator.
int Filters::ResampleBase::getP | ( | ) | const |
Gets the resample numerator.
int Filters::ResampleBase::getQ | ( | ) | const |
Gets the resample numerator.
|
inline |
Gets the resample numerator.
int Filters::ResampleBase::getQ | ( | ) | const |
Gets the resample numerator.
bool Filters::ResampleBase::operator== | ( | const ResampleBase & | rhs | ) |
Comparison operator.
[in] | rhs | instance to be assigned from |
bool Filters::ResampleBase::operator== | ( | const ResampleBase & | rhs | ) |
Comparison operator.
[in] | rhs | instance to be assigned from |
bool Filters::ResampleBase::operator== | ( | const ResampleBase & | rhs | ) |
Comparison operator.
[in] | rhs | instance to be assigned from |
|
pure virtual |
Reset the internal state to its initial condition.
Implemented in Filters::Resample< TIn >, Filters::Resample< TIn >, and Filters::Resample< TIn >.
|
pure virtual |
Reset the internal state to its initial condition.
Implemented in Filters::Resample< TIn >, Filters::Resample< TIn >, and Filters::Resample< TIn >.
|
pure virtual |
Reset the internal state to its initial condition.
Implemented in Filters::Resample< TIn >, Filters::Resample< TIn >, and Filters::Resample< TIn >.
|
private |
Kaiser window beta.
|
private |
anti-aliasing filter group delay
|
private |
filter order parameter (not actual filter order)
|
private |
anti-aliasing filter order
|
private |
upsample factor
|
private |
downsample factor