-
Notifications
You must be signed in to change notification settings - Fork 0
signal.WindowFunctions.Interface.WindowFunctionDescr
dsp-collection / signal/WindowFunctions / WindowFunctionDescr
Defined in: signal/WindowFunctions.ts:22
Window function descriptor.
cpuCost: number;Defined in: signal/WindowFunctions.ts:61
Relative complexity of computation.
f: WindowFunction;Defined in: signal/WindowFunctions.ts:37
Non-normalized window function.
firstMinPos: number;Defined in: signal/WindowFunctions.ts:56
Relative frequency position of the first minimum.
For most window functions the first minimum is a null in the spectrum or a zero in the filter transfer function.
But for the parabolic window, it's only a local minimum and not a null/zero.
In the sprectrum, the frequency is relative to the window size (DFT bin, normalized frequency).
When used as a filter, the frequency is relative to the FIR kernel size.
Formula for FIR filters:
firstMinFrequency = firstMinPos * sampleRate / firKernelWidth
fNorm: WindowFunction;Defined in: signal/WindowFunctions.ts:42
Gain-normalized window function.
id: string;Defined in: signal/WindowFunctions.ts:32
Internal ID of the window function.
name: string;Defined in: signal/WindowFunctions.ts:27
Descriptive name.