TukeyWindow

class TukeyWindow : public tsa::BaseWindow

Tukey windowing algorithm Harris, F. J. “On the Use of Windows for Harmonic Analysis with the Discrete Fourier Transform.” Proceedings of the IEEE. Vol. 66 (January 1978). pp. 66-67.

Operations

void operator()(SeqViewDouble &v1)

Apply the window to a given time view.

Parameters
  • v1: the time view

void operator()(SeqViewDouble &v1, SeqViewDouble &v2)

Apply a window to an input view and write the results on a output view.

Parameters
  • v1: the input view

  • v2: the output view

void Resize(unsigned int size)

Resize the window dimension.

Parameters
  • size: new size for the window

Getters

double operator()(int i)

Get the value of the window at a given index.

Return

the value of the window at the given plage

Public Functions

TukeyWindow(int size)

Constructor

Parameters
  • size: the size of the window

  • cached: true if the window must be preevaluated in a buffer

virtual ~TukeyWindow()

Destructor