Skip to content

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


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


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


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


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


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


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


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


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


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


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


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


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


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


window_planck_taper function

template <typename T = fbase>
expression_planck_taper<T> window_planck_taper(
    size_t size, identity<T> epsilon,
    window_symmetry symmetry = window_symmetry::symmetric,
    ctype_t<T> = ctype_t<T>())

Returns template expression that generates Planck-taper window of length size


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


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


window_tukey function

template <typename T = fbase>
expression_tukey<T> window_tukey(
    size_t size, identity<T> alpha,
    window_symmetry symmetry = window_symmetry::symmetric,
    ctype_t<T> = ctype_t<T>())

Returns template expression that generates Tukey window of length size (numpy compatible)


Auto-generated from sources, Revision 5191a48df06ea47104ca67db19fa82058d09c20a, https://github.com/kfrlib/kfr/blob/5191a48df06ea47104ca67db19fa82058d09c20a/include/kfr/