Skip to content

Function: welch()

ts
function welch(signal, opts?): Psd;

Defined in: stats/signal.ts:64

Welch's method: average the periodograms of overlapping windowed segments. Trades frequency resolution for a far lower-variance estimate than a single FFT of the whole signal — the standard way to read a noisy spectrum.

Parameters

ParameterType
signalArrayLike<number>
optsWelchOptions

Returns

Psd

MIT licensed. WebGL2 required.