Cs2HammingWindow

class Cs2HammingWindow : public tsa::BaseWindow

Cs2Hamming windowing algorithm.

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

Cs2HammingWindow(int size)

Constructor

Parameters
  • size: the size of the window

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

virtual ~Cs2HammingWindow()

Destructor