Window functions¶
expression_gaussian<T>
function¶
expression_gaussian(
size_t size, T alpha = 2.5,
window_symmetry symmetry = window_symmetry::symmetric)
: expression_window_with_metrics<
T, window_metrics::metrics_m1_1_trunc>(
size, alpha, symmetry)
alpha = std / 2N
Source code
expression_gaussian(size_t size, T alpha = 2.5, window_symmetry symmetry = window_symmetry::symmetric)
: expression_window_with_metrics<T, window_metrics::metrics_m1_1_trunc>(size, alpha, symmetry)
{
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L359
window_bartlett
function¶
template <typename T = fbase>
expression_bartlett<T>
window_bartlett(size_t size, ctype_t<T> = ctype_t<T>())
Returns template expression that generates Bartlett window of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_bartlett<T> window_bartlett(size_t size, ctype_t<T> = ctype_t<T>())
{
return expression_bartlett<T>(size);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L432
window_bartlett_hann
function¶
template <typename T = fbase>
expression_bartlett_hann<T>
window_bartlett_hann(size_t size, ctype_t<T> = ctype_t<T>())
Returns template expression that generates Bartlett-Hann window of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_bartlett_hann<T> window_bartlett_hann(size_t size, ctype_t<T> = ctype_t<T>())
{
return expression_bartlett_hann<T>(size);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L468
window_blackman
function¶
template <typename T = fbase>
expression_blackman<T> window_blackman(
size_t size, identity<T> alpha = 0.16,
window_symmetry symmetry = window_symmetry::symmetric,
ctype_t<T> = ctype_t<T>())
Returns template expression that generates Blackman window of length size
where α = alpha
Source code
template <typename T = fbase>
KFR_FUNCTION expression_blackman<T> window_blackman(size_t size, identity<T> alpha = 0.16,
window_symmetry symmetry = window_symmetry::symmetric,
ctype_t<T> = ctype_t<T>())
{
return expression_blackman<T>(size, alpha, symmetry);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L498
window_blackman_harris
function¶
template <typename T = fbase>
expression_blackman_harris<T> window_blackman_harris(
size_t size,
window_symmetry symmetry = window_symmetry::symmetric,
ctype_t<T> = ctype_t<T>())
Returns template expression that generates Blackman-Harris window of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_blackman_harris<T> window_blackman_harris(
size_t size, window_symmetry symmetry = window_symmetry::symmetric, ctype_t<T> = ctype_t<T>())
{
return expression_blackman_harris<T>(size, T(), symmetry);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L509
window_bohman
function¶
template <typename T = fbase>
expression_bohman<T>
window_bohman(size_t size, ctype_t<T> = ctype_t<T>())
Returns template expression that generates Bohman window of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_bohman<T> window_bohman(size_t size, ctype_t<T> = ctype_t<T>())
{
return expression_bohman<T>(size);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L488
window_cosine
function¶
template <typename T = fbase>
expression_cosine<T>
window_cosine(size_t size, ctype_t<T> = ctype_t<T>())
Returns template expression that generates Cosine window of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_cosine<T> window_cosine(size_t size, ctype_t<T> = ctype_t<T>())
{
return expression_cosine<T>(size);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L441
window_cosine_np
function¶
template <typename T = fbase>
expression_cosine_np<T>
window_cosine_np(size_t size, ctype_t<T> = ctype_t<T>())
Returns template expression that generates Cosine window (numpy compatible) of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_cosine_np<T> window_cosine_np(size_t size, ctype_t<T> = ctype_t<T>())
{
return expression_cosine_np<T>(size);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L450
window_flattop
function¶
template <typename T = fbase>
expression_flattop<T>
window_flattop(size_t size, ctype_t<T> = ctype_t<T>())
Returns template expression that generates Flat top window of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_flattop<T> window_flattop(size_t size, ctype_t<T> = ctype_t<T>())
{
return expression_flattop<T>(size);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L530
window_gaussian
function¶
template <typename T = fbase>
expression_gaussian<T>
window_gaussian(size_t size, identity<T> alpha = 2.5,
ctype_t<T> = ctype_t<T>())
Returns template expression that generates Gaussian window of length size
where α = alpha
Source code
template <typename T = fbase>
KFR_FUNCTION expression_gaussian<T> window_gaussian(size_t size, identity<T> alpha = 2.5,
ctype_t<T> = ctype_t<T>())
{
return expression_gaussian<T>(size, alpha);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L540
window_hamming
function¶
template <typename T = fbase>
expression_hamming<T>
window_hamming(size_t size, identity<T> alpha = 0.54,
ctype_t<T> = ctype_t<T>())
Returns template expression that generates Hamming window of length size
where α = alpha
Source code
template <typename T = fbase>
KFR_FUNCTION expression_hamming<T> window_hamming(size_t size, identity<T> alpha = 0.54,
ctype_t<T> = ctype_t<T>())
{
return expression_hamming<T>(size, alpha);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L478
window_hann
function¶
template <typename T = fbase>
expression_hann<T> window_hann(size_t size,
ctype_t<T> = ctype_t<T>())
Returns template expression that generates Hann window of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_hann<T> window_hann(size_t size, ctype_t<T> = ctype_t<T>())
{
return expression_hann<T>(size);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L459
window_kaiser
function¶
template <typename T = fbase>
expression_kaiser<T>
window_kaiser(size_t size, identity<T> beta = T(0.5),
ctype_t<T> = ctype_t<T>())
Returns template expression that generates Kaiser window of length size
where β = beta
Source code
template <typename T = fbase>
KFR_FUNCTION expression_kaiser<T> window_kaiser(size_t size, identity<T> beta = T(0.5),
ctype_t<T> = ctype_t<T>())
{
return expression_kaiser<T>(size, beta);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L520
window_lanczos
function¶
template <typename T = fbase>
expression_lanczos<T>
window_lanczos(size_t size, ctype_t<T> = ctype_t<T>())
Returns template expression that generates Lanczos window of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_lanczos<T> window_lanczos(size_t size, ctype_t<T> = ctype_t<T>())
{
return expression_lanczos<T>(size);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L550
window_rectangular
function¶
template <typename T = fbase>
expression_rectangular<T>
window_rectangular(size_t size, ctype_t<T> = ctype_t<T>())
Returns template expression that generates Rrectangular window of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_rectangular<T> window_rectangular(size_t size, ctype_t<T> = ctype_t<T>())
{
return expression_rectangular<T>(size, T());
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L414
window_triangular
function¶
template <typename T = fbase>
expression_triangular<T>
window_triangular(size_t size, ctype_t<T> = ctype_t<T>())
Returns template expression that generates Triangular window of length size
Source code
template <typename T = fbase>
KFR_FUNCTION expression_triangular<T> window_triangular(size_t size, ctype_t<T> = ctype_t<T>())
{
return expression_triangular<T>(size);
}
https://github.com/kfrlib/kfr/blob//include/kfr/dsp/window.hpp#L423
Auto-generated from sources, Revision , https://github.com/kfrlib/kfr/blob//include/kfr/