std1.0.0-beta-7 SafeC docs

std :: dsp::cwt

Function std::cwt_morlet

#include <std/dsp/cwt.h> source · definition

int cwt_morlet([]const double signal, []const double scales, double w0, []Complex out)

'scales' has 'numScales' entries (each > 0); 'w0' is the Morlet wavelet's center frequency parameter (5-6 is the standard choice — high enough to satisfy the admissibility condition without truncating the wavelet's own oscillation). 'out' must have room for numScalessignalLen Complex values, row-major by scale (row si covers out[sisignalLen .. si*signalLen+signalLen-1]).