pyhctsa.operations.wavelet.cwt

pyhctsa.operations.wavelet.cwt(y, w_name='db3', max_scale=32)

Continuous wavelet transform of a time series.

Computes the continuous wavelet transform (CWT) of a time series using the specified wavelet and maximum scale, and returns a set of statistics on the coefficients, entropy, and results of coefficients summed across scales.

Parameters:
y : array-like

The input time series.

w_name : str, optional

The wavelet name, e.g., ‘db3’ (Daubechies wavelet), ‘sym2’ (Symlet), etc. Default is ‘db3’.

max_scale : int, optional

The maximum scale of wavelet analysis. Default is 32.

Returns:

Dictionary of statistics on the CWT coefficients.

Return type:

dict