BaseWindow¶
-
class
BaseWindow: public tsa::AlgoBase¶ Base class for various windowing algorithms.
Subclassed by tsa::BartlettWindow, tsa::BisquareWindow, tsa::Cs2HammingWindow, tsa::Cs2HannWindow, tsa::KaiserWindow, tsa::TukeyHannWindow, tsa::TukeyWindow, tsa::WelchWindow
Operations
-
void
execute(Dmatrix &in, Dmatrix &out)¶ Apply the window to each row of the input data matrix, writing the result on the output data matrix.
- Parameters
in: input matrix of dataout: output matrix of data
-
void
execute(Dmatrix &inout)¶ Apply the window to each row of the data matrix, writing the result on the matrix itself.
- Parameters
inout: data matrix
-
double
operator()(int i)¶ Get the value of the window at a given index.
- Return
the value of the window at the given plage
-
void
Resize(unsigned int size)¶ Resize the window dimension.
- Parameters
size: new size for the window
Getters
-
unsigned int
GetSize()¶ Get the actual size of the window.
- Return
the actual size of the window
-
void