#include <avir.h>
Public Member Functions | |
bool | operator== (const CFltBuffer &b2) const |
Public Member Functions inherited from avir::CBuffer< double > | |
CBuffer (const intaCapacity, const int aAlignment=0) | |
CBuffer (const CBuffer &Source) | |
void | alloc (const intaCapacity, const int aAlignment=0) |
void | forceCapacity (const intNewCapacity) |
void | free () |
int | getCapacity () const |
void | increaseCapacity (const intNewCapacity, const bool DoDataCopy=true) |
operator double * () const | |
CBuffer & | operator= (const CBuffer &Source) |
void | truncateCapacity (const intNewCapacity) |
void | updateCapacity (const intReqCapacity) |
Public Attributes | |
double | Alpha |
double | DCGain |
double | Freq |
double | Len2 |
Buffer class for parametrized low-pass filter.
This class extends the CBuffer< double > class by adding several variables that define a symmetric-odd FIR low-pass filter windowed by Peaked Cosine window function. This class can be used to compare filters without comparing their buffer contents.
bool avir::CFltBuffer::operator== | ( | const CFltBuffer & | b2 | ) | const |
b2 | Filter buffer to compare *this object to. |
double avir::CFltBuffer::Alpha |
Peaked Cosine window function Alpha parameter.
double avir::CFltBuffer::DCGain |
DC gain applied to the filter.
double avir::CFltBuffer::Freq |
Low-pass filter's corner frequency.
double avir::CFltBuffer::Len2 |
Half-length (non-truncated) of low-pass filters, in samples (taps).