In file Window/FlatTop.hh:

class FlatTop : public Window

FlatTop window class.

Inheritance:


Public Methods

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

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(const FlatTop& x)
Construct a FlatTop window object identical to an existing object.

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

FlatTop* clone(void) const
Construct a FlatTop window object identical to an existing object.

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


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


generated by doc++