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

ScalogramCWT

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)
../../_images/spkit-cwt-compare_cwt_example-1.png

Examples using spkit.cwt.compare_cwt_example

Scalogram CWT

Scalogram CWT