In file Window/Hamming.hh:

class Hamming : public Window

Hamming window class.

Inheritance:


Public Methods

Hamming (void)
Default constructor.
explicit Hamming (int len, double mBeta=0.54)
Full constructor.
explicit Hamming (const Hamming& x)
Copy constructor.
~Hamming (void)
Destructor.
Hamming* clone (void) const
Clone the Hamming window.
double WinFc (double x)
Window function

Inherited from Window:

Public Fields

typedef double element_type

Public Methods

Window& operator= (const Window& w)
TSeries apply(const TSeries& ts)
void dataCheck(const TSeries& ts) const
bool isDataValid(const TSeries& ts) const
int getLength(void) const
double getRMS(void)
void setWindow(int N)
virtual bool isPiSymmetric(void)
Time getStartTime(void) const
Time getCurrentTime(void) const
bool inUse(void) const
void reset(void)
FilterIO& apply(const FilterIO& in)

Inherited from Pipe:

Public Methods

virtual TSeries operator)(const TSeries& in)
FilterIO& operator)(const FilterIO& in)
KeyChain& getInputKeys(void) const
KeyChain& getOutputKeys(void) const
virtual Interval getTimeDelay(void) const
virtual bool Xfer(fComplex& coeff, double f) const
virtual bool Xfer(fComplex* tf, const float* freqs, int points) const
virtual bool Xfer(FSeries& Fs, float Fmin = 0.0, float Fmax = 1000.0, float dF = 1.0) const

Protected Methods

virtual bool xfer(fComplex& coeff, double f) const

Inherited from FilterBase:

Public Methods

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

Documentation

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)
Use the true hamming window parameter, beta=0.54.

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

explicit Hamming(const Hamming& x)
Construct a generalized Hamming window identical to the argument.

~Hamming(void)
Delete the object.

Hamming* clone(void) const
Create a new window object identical to he current one.

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


Please send questions and comments to zweizig_j@ligo.caltech.edu


generated by doc++