class Hamming : public Window

Hamming window class

Inheritance:


Public Methods

Hamming(void)
Default constructor
explicit Hamming(int len, double mBeta=0.54)
Full constructor
~Hamming()
Destructor
double WinFc(double x)
Window function

Inherited from Window:

Public Methods

TSeries apply(const TSeries& ts)
TSeries operator)(const TSeries& ts)
void dataCheck(const TSeries& ts) const
bool isDataValid(const TSeries& ts) const
double getRMS(void)
void setWindow(int N)
virtual bool isPiSymmetric(void)

Inherited from Pipe:

Public Methods

virtual void reset(void)
virtual bool inUse(void) const
KeyChain& getInputKeys(void) const
KeyChain& getOutputKeys(void) const
virtual Time getStartTime(void) const
virtual Time getCurrentTime(void) const

Inherited from FilterBase:

Public Methods

virtual bool rootGetStartTime(Time& t) const throw()
virtual bool rootGetCurrentTime(Time& t) const throw()

Documentation

Hamming window class. Hamming is a generalized Hamming window class. The classic Hamming window is Wm(x) = 0.54 - 0.46*cos(x). This is generalized to Wm(x) = beta - (1-beta)*cos(x) where beta can take any value in the range 0<beta<1. Beta=0.5 corresponds to the Hannig window.
Hamming(void)
Default constructor. Use the true hamming window parameter, beta=0.54.

explicit Hamming(int len, double mBeta=0.54)
Full constructor. Construct a generalized Hamming window of length 'len'. If beta isn't specified it defalts to the true hamming window.

~Hamming()
Destructor. Delete the object.

double WinFc(double x)
Window function. Return the function value at x=2*pi*i/(N-1), where i is the sample number and N is the series length.


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++