class Window : public Pipe Windowing base class.
| | element_type Element type of window array |
| | Window (void) Default constructor. |
| | Window (const Window& w) Copy constructor. |
| | ~Window () Virtual destructor. |
| | operator= (const Window& w) Assignment operator. |
| | apply (const TSeries& ts) Return a windowed TSeries. |
| | clone (void) const Clone a window function |
| | dataCheck (const TSeries& ts) const Check the data for validity |
| | isDataValid (const TSeries& ts) const Check the data for validity |
| | getLength (void) const Ge the current window length. |
| | getRMS (void) Get window function RMS. |
| | setWindow (int N) Set the length and calculate the Window function. |
| | WinFc (double arg) Calculate the Window function. |
| | isPiSymmetric (void) Test the Window function for symmetry around .
|
| | getStartTime (void) const Get start time. |
| | getCurrentTime (void) const Get the current time of the current data epoch |
| | inUse (void) const Returns true if the filter is in use |
| | reset (void) Prepare the filter for a disjoint data epoch |
| | apply (const FilterIO& in) Apply the window to a FilterIO object holding a single conainer |
The Window base class performs all the common window calculation operations. The derived classes typically differ from one another only in the window function and the constructors needed to provide whatever variation is appropriate to the specific window type. The Window base class forces a normalization of. This maintains the power of a windowed series approximately constant, but it overrides any normalization built into the window function.
The Window function calculation can save half of the computation steps for Windows that are symmetric about the center bin (
). This symmetry is assumed by default. Derived classes representing windows that don't exhibit this symmetry should define isPiSymmetric() to return false.
Window(void)
Window(const Window& w)
virtual ~Window()
Window& operator= (const Window& w)
TSeries apply(const TSeries& ts)
, as described in the class
description.
virtual Window* clone(void) const
void dataCheck(const TSeries& ts) const
bool isDataValid(const TSeries& ts) const
int getLength(void) const
double getRMS(void)
void setWindow(int N)
virtual double WinFc(double arg)
, n is the entry number, N is the total number
of entries)
virtual bool isPiSymmetric(void)
.
Functions are by default symmetric, but the symmetry assumption
may be preempted by defining isPiSymmetric() for a derived class.
.
Time getStartTime(void) const
Time getCurrentTime(void) const
bool inUse(void) const
void reset(void)
FilterIO& apply(const FilterIO& in)
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++