48 throw std::runtime_error(
"Not implemenented window type");
68 static vd hann(
const us len);
Window (aka taper) functions of a certain type.
static vd create(const WindowType w, const us len)
Dispatcher: create a window based on enum type and len.
static vd bartlett(const us len)
Bartlett window.
static vd hamming(const us len)
Hamming window.
static std::string toText(const WindowType wt)
Convert a window type enum to its equivalent text.
static vd blackman(const us len)
Blackman window.
static vd rectangular(const us len)
Rectangular (boxcar) window.
size_t us
We often use boolean values.