-
Notifications
You must be signed in to change notification settings - Fork 0
signal.WindowFunctions.Function.calculateCoherentGain
Christian d'Heureuse edited this page Jun 7, 2026
·
2 revisions
dsp-collection / signal/WindowFunctions / calculateCoherentGain
function calculateCoherentGain(windowFunction, n): number;Defined in: signal/WindowFunctions.ts:162
Calculates the coherent gain of a window function ("pediodic" window, used for DFT).
The returned value is the arithmetic mean of the function values, which is the same as
the amplitude of the middle component (DC value) in the spectrum of the window function.
The value should be about the same as WindowFunctionDescr.gain.
number
number