Skip to content

filter.FirFilterWin.Function.createWindowKernel

Christian d'Heureuse edited this page Jun 7, 2026 · 2 revisions

dsp-collection / filter/FirFilterWin / createWindowKernel

Function: createWindowKernel()

function createWindowKernel(
   f, 
   width, 
   symetric?): Float64Array;

Defined in: filter/FirFilterWin.ts:20

Creates the FIR filter kernel (moving average kernel) for a given window function.

symetric = true and an odd value for width can be used to avoid displacement of the FIR filter output.

Parameters

f

WindowFunction

width

number

symetric?

boolean = true

Returns

Float64Array

Clone this wiki locally