spkit.cwt
.compare_cwt_example¶
- spkit.cwt.compare_cwt_example(x, t, fs=128, sLog=False)¶
Compare different CWT Functions
- Parameters:
- x: array-like,
input signal,
- t: array-like,
time array corresponding to x, same length as x
- fs: int,
sampling frequency
- Returns:
- display plot
See also
Notes
#TODO
References
wikipedia -
Examples
>>> import numpy as np >>> import matplotlib.pyplot as plt >>> import spkit as sp >>> x,fs = sp.data.eeg_sample_1ch() >>> t = np.arange(len(x))/fs >>> sp.cwt.compare_cwt_example(x,t,fs=fs)
Examples using spkit.cwt.compare_cwt_example
¶
Scalogram CWT