Cs2HammingWindow

class Cs2HammingWindow : public tsa::BaseWindow

Cs2Hamming windowing algorithm.

Operations

inline virtual void operator()(SeqViewDouble &v1)

Apply the window to a given time view.

Parameters:

v1 – the time view

inline virtual 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

inline virtual void Resize(unsigned int size)

Resize the window dimension.

Parameters:

size – new size for the window

Getters

inline double operator()(int i)

Get the value of the window at a given index.

Returns:

the value of the window at the given plage

Public Functions

inline Cs2HammingWindow(int size)

Constructor

Parameters:
  • size – the size of the window

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

inline Cs2HammingWindow(int size, const std::string&)
inline virtual ~Cs2HammingWindow()

Destructor