In file Window/Blackman.hh:

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.
explicit Blackman (const Blackman& x)
Copy constructor.
~Blackman ()
Destructor.
Blackman* clone (void) const
Clone the 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

The Blackman class implements a generalized Blackman window. The 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)
Construct a generalized Blackman window of length 'len'. If beta isn't specified it defalts to the true Blackman window.
Parameters:
len - Number of samples in the TSeries to be windowed.
Beta - coeffcient in window function.

explicit Blackman(const Blackman& x)
Construct a generalized Blackman window of length 'len'. If beta isn't specified it defalts to the true hamming window.
Parameters:
x - Blackman window to be copied.

~Blackman()
Delete the object.

Blackman* clone(void) const
Create an identical copy of the windo and return a pointer.
Returns:
Pointer to the cloned window.

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


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


generated by doc++