class FlatTop : public Window

FlatTop window class.

Inheritance:


Public Methods

FlatTop(void)
Default constructor.
FlatTop(int N)
Data Constructor.
~FlatTop()
Destructor.
double WinFc(double arg)
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

FlatTop is the FlatTop window class. The float top window is most useful for calculating the spectral amplitude of a peak with little spectral energy in nearby bins and provides the best amplitude accuracy in this case.
FlatTop(void)
Construct a flat-top window.

FlatTop(int N)
Construct a FlatTop window object. Initialize it for sequences of length N.

~FlatTop()
Delete the window and release any allocated storage.

double WinFc(double arg)
Return the window function at x, where x = 2*pi*i/(N-1). The FlatTop window is 0.2810638602 - 0.5208971735*cos(x) + 0.1980389663*cos(2x).


This class has no child classes.
Author:
J. Zweizig
Version:
1.0; Modified April 5, 2000

alphabetic index hierarchy of classes


generated by doc++