class Blackman : public Window

Generalized Blackman window class

Inheritance:


Public Methods

Blackman(void)
Default constructor
explicit Blackman(int len, double Beta=0.08)
Full constructor
~Blackman()
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

Generalized Blackman window class. The generalized Blackman window function is Wb(x) = (0.5 - Beta) - 0.5*cos(Xj) + Beta*cos(2Xj), where Xj=2*pi*j/(N-1). The classic Blackman window is given by Beta=0.08. A slight change in the parameters of the Blackman window (Beta=0.125) give a 30-dB/octave rolloff. The 30dB window can be implemented using the alternate constructor
Blackman(void)
Default constructor. Use the true Blackman window parameter, beta=0.08.

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

~Blackman()
Destructor. Delete the object.

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


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++