PySDKit 0.4.14__tar.gz → 0.4.15__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. pysdkit-0.4.15/PKG-INFO +168 -0
  2. pysdkit-0.4.15/PySDKit.egg-info/PKG-INFO +168 -0
  3. pysdkit-0.4.15/PySDKit.egg-info/SOURCES.txt +115 -0
  4. pysdkit-0.4.15/README.md +133 -0
  5. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/__init__.py +23 -17
  6. {pysdkit-0.4.14/pysdkit/emd → pysdkit-0.4.15/pysdkit/_emd}/ceemdan.py +1 -1
  7. {pysdkit-0.4.14/pysdkit/emd → pysdkit-0.4.15/pysdkit/_emd}/eemd.py +1 -1
  8. {pysdkit-0.4.14/pysdkit/emd → pysdkit-0.4.15/pysdkit/_emd}/emd.py +3 -3
  9. {pysdkit-0.4.14/pysdkit/emd → pysdkit-0.4.15/pysdkit/_emd}/memd.py +2 -2
  10. {pysdkit-0.4.14/pysdkit/emd → pysdkit-0.4.15/pysdkit/_emd}/remd.py +4 -4
  11. {pysdkit-0.4.14/pysdkit/ewt → pysdkit-0.4.15/pysdkit/_ewt}/ewt.py +24 -17
  12. pysdkit-0.4.15/pysdkit/_faemd/extrema.py +133 -0
  13. pysdkit-0.4.15/pysdkit/_faemd/faemd.py +63 -0
  14. pysdkit-0.4.15/pysdkit/_faemd/filter.py +45 -0
  15. {pysdkit-0.4.14/pysdkit/itd → pysdkit-0.4.15/pysdkit/_itd}/itd.py +1 -1
  16. {pysdkit-0.4.14/pysdkit/vmd → pysdkit-0.4.15/pysdkit/_vmd}/acmd.py +1 -1
  17. {pysdkit-0.4.14/pysdkit/vmd → pysdkit-0.4.15/pysdkit/_vmd}/svmd.py +1 -1
  18. {pysdkit-0.4.14/pysdkit/vmd → pysdkit-0.4.15/pysdkit/_vmd}/vmd_f.py +1 -1
  19. {pysdkit-0.4.14/pysdkit/vmd2d → pysdkit-0.4.15/pysdkit/_vmd2d}/__init__.py +2 -0
  20. pysdkit-0.4.15/pysdkit/_vmd2d/cvmd2d.py +463 -0
  21. {pysdkit-0.4.14/pysdkit/vmd2d → pysdkit-0.4.15/pysdkit/_vmd2d}/vmd2d.py +2 -0
  22. pysdkit-0.4.15/pysdkit/_vncmd/__init__.py +9 -0
  23. pysdkit-0.4.15/pysdkit/_vncmd/incmd.py +312 -0
  24. {pysdkit-0.4.14/pysdkit/vncmd → pysdkit-0.4.15/pysdkit/_vncmd}/vncmd.py +1 -1
  25. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/data/__init__.py +3 -0
  26. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/data/_generator.py +1 -1
  27. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/data/_image.py +1 -1
  28. pysdkit-0.4.15/pysdkit/entropy/__init__.py +21 -0
  29. pysdkit-0.4.15/pysdkit/entropy/_approxiamte_entropy.py +7 -0
  30. pysdkit-0.4.15/pysdkit/entropy/_permutation_entropy.py +147 -0
  31. pysdkit-0.4.15/pysdkit/entropy/_sample_entropy.py +196 -0
  32. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/hht/hht.py +0 -2
  33. pysdkit-0.4.15/pysdkit/tests/__init__.py +6 -0
  34. pysdkit-0.4.15/pysdkit/tests/test_all.py +23 -0
  35. pysdkit-0.4.15/pysdkit/tests/test_emd.py +276 -0
  36. pysdkit-0.4.15/pysdkit/tests/test_ewt.py +138 -0
  37. pysdkit-0.4.15/pysdkit/tests/test_generator_cube.py +6 -0
  38. pysdkit-0.4.15/pysdkit/tests/test_generator_image.py +6 -0
  39. pysdkit-0.4.15/pysdkit/tests/test_generator_signal.py +204 -0
  40. pysdkit-0.4.15/pysdkit/tests/test_moving_decomp.py +240 -0
  41. pysdkit-0.4.15/pysdkit/tests/test_vmd.py +193 -0
  42. pysdkit-0.4.15/pysdkit/tests/test_vmd2d.py +137 -0
  43. {pysdkit-0.4.14 → pysdkit-0.4.15}/setup.py +2 -4
  44. pysdkit-0.4.14/PKG-INFO +0 -164
  45. pysdkit-0.4.14/PySDKit.egg-info/PKG-INFO +0 -164
  46. pysdkit-0.4.14/PySDKit.egg-info/SOURCES.txt +0 -97
  47. pysdkit-0.4.14/README.md +0 -127
  48. pysdkit-0.4.14/pysdkit/faemd/faemd.py +0 -31
  49. pysdkit-0.4.14/pysdkit/vncmd/__init__.py +0 -1
  50. {pysdkit-0.4.14 → pysdkit-0.4.15}/PySDKit.egg-info/dependency_links.txt +0 -0
  51. {pysdkit-0.4.14 → pysdkit-0.4.15}/PySDKit.egg-info/requires.txt +0 -0
  52. {pysdkit-0.4.14 → pysdkit-0.4.15}/PySDKit.egg-info/top_level.txt +0 -0
  53. {pysdkit-0.4.14/pysdkit/emd → pysdkit-0.4.15/pysdkit/_emd}/__init__.py +0 -0
  54. {pysdkit-0.4.14/pysdkit/emd → pysdkit-0.4.15/pysdkit/_emd}/_find_extrema.py +0 -0
  55. {pysdkit-0.4.14/pysdkit/emd → pysdkit-0.4.15/pysdkit/_emd}/_prepare_points.py +0 -0
  56. {pysdkit-0.4.14/pysdkit/emd → pysdkit-0.4.15/pysdkit/_emd}/_splines.py +0 -0
  57. {pysdkit-0.4.14/pysdkit/emd → pysdkit-0.4.15/pysdkit/_emd}/tvf_emd.py +0 -0
  58. {pysdkit-0.4.14/pysdkit/emd2d → pysdkit-0.4.15/pysdkit/_emd2d}/__init__.py +0 -0
  59. {pysdkit-0.4.14/pysdkit/emd2d → pysdkit-0.4.15/pysdkit/_emd2d}/bemd.py +0 -0
  60. {pysdkit-0.4.14/pysdkit/emd2d → pysdkit-0.4.15/pysdkit/_emd2d}/bmemd.py +0 -0
  61. {pysdkit-0.4.14/pysdkit/emd2d → pysdkit-0.4.15/pysdkit/_emd2d}/emd2d.py +0 -0
  62. {pysdkit-0.4.14/pysdkit/esmd → pysdkit-0.4.15/pysdkit/_esmd}/__init__.py +0 -0
  63. {pysdkit-0.4.14/pysdkit/esmd → pysdkit-0.4.15/pysdkit/_esmd}/esmd.py +0 -0
  64. {pysdkit-0.4.14/pysdkit/ewt → pysdkit-0.4.15/pysdkit/_ewt}/__init__.py +0 -0
  65. {pysdkit-0.4.14/pysdkit/ewt → pysdkit-0.4.15/pysdkit/_ewt}/ewt2d.py +0 -0
  66. {pysdkit-0.4.14/pysdkit/faemd → pysdkit-0.4.15/pysdkit/_faemd}/__init__.py +0 -0
  67. {pysdkit-0.4.14/pysdkit/faemd → pysdkit-0.4.15/pysdkit/_faemd}/md_faemd.py +0 -0
  68. {pysdkit-0.4.14/pysdkit/faemd → pysdkit-0.4.15/pysdkit/_faemd}/mv_faemd.py +0 -0
  69. {pysdkit-0.4.14/pysdkit/fmd → pysdkit-0.4.15/pysdkit/_fmd}/__init__.py +0 -0
  70. {pysdkit-0.4.14/pysdkit/fmd → pysdkit-0.4.15/pysdkit/_fmd}/fmd.py +0 -0
  71. {pysdkit-0.4.14/pysdkit/hvd → pysdkit-0.4.15/pysdkit/_hvd}/__init__.py +0 -0
  72. {pysdkit-0.4.14/pysdkit/hvd → pysdkit-0.4.15/pysdkit/_hvd}/hvd.py +0 -0
  73. {pysdkit-0.4.14/pysdkit/ifd → pysdkit-0.4.15/pysdkit/_ifd}/__init__.py +0 -0
  74. {pysdkit-0.4.14/pysdkit/itd → pysdkit-0.4.15/pysdkit/_itd}/__init__.py +0 -0
  75. {pysdkit-0.4.14/pysdkit/jmd → pysdkit-0.4.15/pysdkit/_jmd}/__init__.py +0 -0
  76. {pysdkit-0.4.14/pysdkit/jmd → pysdkit-0.4.15/pysdkit/_jmd}/jmd.py +0 -0
  77. {pysdkit-0.4.14/pysdkit/jmd → pysdkit-0.4.15/pysdkit/_jmd}/mjmd.py +0 -0
  78. {pysdkit-0.4.14/pysdkit/lmd → pysdkit-0.4.15/pysdkit/_lmd}/__init__.py +0 -0
  79. {pysdkit-0.4.14/pysdkit/lmd → pysdkit-0.4.15/pysdkit/_lmd}/lmd.py +0 -0
  80. {pysdkit-0.4.14/pysdkit/lmd → pysdkit-0.4.15/pysdkit/_lmd}/rlmd.py +0 -0
  81. {pysdkit-0.4.14/pysdkit/ssa → pysdkit-0.4.15/pysdkit/_ssa}/__init__.py +0 -0
  82. {pysdkit-0.4.14/pysdkit/ssa → pysdkit-0.4.15/pysdkit/_ssa}/ssa.py +0 -0
  83. {pysdkit-0.4.14/pysdkit/vmd → pysdkit-0.4.15/pysdkit/_vmd}/__init__.py +0 -0
  84. {pysdkit-0.4.14/pysdkit/vmd → pysdkit-0.4.15/pysdkit/_vmd}/avmd.py +0 -0
  85. {pysdkit-0.4.14/pysdkit/vmd → pysdkit-0.4.15/pysdkit/_vmd}/ba_acmd.py +0 -0
  86. {pysdkit-0.4.14/pysdkit/vmd → pysdkit-0.4.15/pysdkit/_vmd}/base.py +0 -0
  87. {pysdkit-0.4.14/pysdkit/vmd → pysdkit-0.4.15/pysdkit/_vmd}/mvmd.py +0 -0
  88. {pysdkit-0.4.14/pysdkit/vmd → pysdkit-0.4.15/pysdkit/_vmd}/vmd_c.py +0 -0
  89. {pysdkit-0.4.14/pysdkit/vncmd → pysdkit-0.4.15/pysdkit/_vncmd}/anvcmd.py +0 -0
  90. {pysdkit-0.4.14/pysdkit/vncmd → pysdkit-0.4.15/pysdkit/_vncmd}/mncmd.py +0 -0
  91. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/data/_add_noise.py +0 -0
  92. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/data/_cube.py +0 -0
  93. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/data/_time_series.py +0 -0
  94. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/data/texture.txt +0 -0
  95. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/hht/__init__.py +0 -0
  96. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/plot/__init__.py +0 -0
  97. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/plot/_fourier_spectra.py +0 -0
  98. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/plot/_functions.py +0 -0
  99. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/plot/_plot_images.py +0 -0
  100. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/plot/_plot_imfs.py +0 -0
  101. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/plot/_plot_signal.py +0 -0
  102. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/tsa/__init__.py +0 -0
  103. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/tsa/_dtw.py +0 -0
  104. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/tsa/_moving_decomp.py +0 -0
  105. /pysdkit-0.4.14/pysdkit/tsa/mstl.py → /pysdkit-0.4.15/pysdkit/tsa/_mstl.py +0 -0
  106. /pysdkit-0.4.14/pysdkit/tsa/stl.py → /pysdkit-0.4.15/pysdkit/tsa/_stl.py +0 -0
  107. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_Index_of_Orthogonality.py +0 -0
  108. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/__init__.py +0 -0
  109. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_cite.py +0 -0
  110. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_correlation.py +0 -0
  111. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_diagnalization.py +0 -0
  112. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_differ.py +0 -0
  113. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_fft.py +0 -0
  114. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_function.py +0 -0
  115. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_hilbert.py +0 -0
  116. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_instantaneous.py +0 -0
  117. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_kernel_matrix.py +0 -0
  118. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_lags.py +0 -0
  119. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_mirror.py +0 -0
  120. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_process.py +0 -0
  121. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_smooth1d.py +0 -0
  122. {pysdkit-0.4.14 → pysdkit-0.4.15}/pysdkit/utils/_types.py +0 -0
  123. {pysdkit-0.4.14 → pysdkit-0.4.15}/setup.cfg +0 -0
@@ -0,0 +1,168 @@
1
+ Metadata-Version: 2.2
2
+ Name: PySDKit
3
+ Version: 0.4.15
4
+ Summary: A Python library for signal decomposition algorithms with a unified interface.
5
+ Home-page: https://github.com/wwhenxuan/PySDKit
6
+ Author: whenxuan
7
+ Author-email: wwhenxuan@gmail.com
8
+ Keywords: signal decomposition,signal processing,machine learning
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
12
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Requires-Python: >=3.8
19
+ Description-Content-Type: text/markdown
20
+ Requires-Dist: numpy<=1.26.4,>=1.24.3
21
+ Requires-Dist: scipy<=1.13.1,>=1.11.1
22
+ Requires-Dist: matplotlib<=3.8.4,>=3.7.2
23
+ Requires-Dist: tqdm>=4.66.5
24
+ Requires-Dist: requests>=2.32.3
25
+ Dynamic: author
26
+ Dynamic: author-email
27
+ Dynamic: classifier
28
+ Dynamic: description
29
+ Dynamic: description-content-type
30
+ Dynamic: home-page
31
+ Dynamic: keywords
32
+ Dynamic: requires-dist
33
+ Dynamic: requires-python
34
+ Dynamic: summary
35
+
36
+ # PySDKit: signal decomposition in Python
37
+
38
+ <div align="center">
39
+
40
+ [![PyPI version](https://badge.fury.io/py/PySDKit.svg)](https://pypi.org/project/PySDKit/)
41
+ ![License](https://img.shields.io/github/license/wwhenxuan/PySDKit)
42
+ [![Python](https://img.shields.io/badge/python-3.8+-blue?logo=python)](https://www.python.org/)
43
+ [![Downloads](https://pepy.tech/badge/pysdkit)](https://pepy.tech/project/pysdkit)
44
+ [![codestyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
45
+
46
+ A Python library for signal decomposition algorithms 🥳
47
+
48
+ [Installation](#Installation) |
49
+ [Example Script](#Example-Script) |
50
+ [Target](#Target) |
51
+ [Acknowledgements](#Acknowledgements)
52
+
53
+ <img src="https://raw.githubusercontent.com/wwhenxuan/PySDKit/main/images/Logo_sd.png" alt="Logo_sd" width="500"/>
54
+
55
+ </div>
56
+
57
+ ## Installation 🚀 <a id="Installation"></a>
58
+
59
+ You can install `PySDKit` through pip:
60
+
61
+ ~~~
62
+ pip install pysdkit
63
+ ~~~
64
+
65
+ We only used [`NumPy`](https://numpy.org/), [`Scipy`](https://scipy.org/) and [`matplotlib`](https://matplotlib.org/) when developing the project.
66
+
67
+ ## Example Script ✨ <a id="Example-Script"></a>
68
+
69
+ This project integrates simple signal processing methods, signal decomposition and visualization, and builds a general interface similar to [`Scikit-learn`](https://scikit-learn.org/stable/). It is mainly divided into three steps:
70
+ 1. Import the signal decomposition method;
71
+ 2. Create an instance for signal decomposition;
72
+ 3. Use the `fit_transform` method to implement signal decomposition;
73
+ 4. Visualize and analyze the original signal and the intrinsic mode functions IMFs obtained by decomposition.
74
+
75
+ ~~~python
76
+ from pysdkit import EMD
77
+ from pysdkit.data import test_emd
78
+ from pysdkit.plot import plot_IMFs
79
+
80
+ t, signal = test_emd()
81
+
82
+ # create an instance for signal decomposition
83
+ emd = EMD()
84
+ # implement signal decomposition
85
+ IMFs = emd.fit_transform(signal, max_imfs=2)
86
+ plot_IMFs(signal, IMFs)
87
+ ~~~
88
+
89
+ ![example](https://raw.githubusercontent.com/wwhenxuan/PySDKit/main/images/example.jpg)
90
+
91
+ The EMD in the above example is the most classic [`empirical mode decomposition`](https://www.mathworks.com/help/signal/ref/emd.html) algorithm in signal decomposition. For more complex signals, you can try other algorithms such as variational mode decomposition ([`VMD`](https://ieeexplore.ieee.org/abstract/document/6655981)).
92
+
93
+ ~~~python
94
+ import numpy as np
95
+ from pysdkit import VMD
96
+
97
+ # load new signal
98
+ signal = np.load("./example/example.npy")
99
+
100
+ # use variational mode decomposition
101
+ vmd = VMD(alpha=500, K=3, tau=0.0, tol=1e-9)
102
+ IMFs = vmd.fit_transform(signal=signal)
103
+ print(IMFs.shape)
104
+
105
+ vmd.plot_IMFs(save_figure=True)
106
+ ~~~
107
+
108
+ ![vmd_example](https://raw.githubusercontent.com/wwhenxuan/PySDKit/main/images/vmd_example.jpg)
109
+
110
+ Better observe the characteristics of the decomposed intrinsic mode function in the frequency domain.
111
+
112
+ ~~~python
113
+ from pysdkit.plot import plot_IMFs_amplitude_spectra
114
+
115
+ # frequency domain visualization
116
+ plot_IMFs_amplitude_spectra(IMFs, smooth="exp") # use exp smooth
117
+ ~~~
118
+
119
+ ![frequency_example](https://raw.githubusercontent.com/wwhenxuan/PySDKit/main/images/frequency_example.jpg)
120
+
121
+ ## Target 🎯 <a id="Target"></a>
122
+
123
+ `PySDKit` is still under development. We are currently working on reproducing the signal decomposition algorithms in the table below, including not only common decomposition algorithms for `univariate signals` such as EMD and VMD, but also decomposition algorithms for `multivariate signals` such as MEMD and MVMD. We will also further reproduce the decomposition algorithms for `two-dimensional images` to make PySDKit not only suitable for signal processing, but also for image analysis and understanding. See [`Mission`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/README.md) for the reasons why we developed PySDKit.
124
+
125
+ | Algorithm | Paper | Code | State |
126
+ | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :---: |
127
+ | [`EMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/emd.py) (Empirical Mode Decomposition) | [[paper]](https://royalsocietypublishing.org/doi/abs/10.1098/rspa.1998.0193) | [[code]](https://www.mathworks.com/help/signal/ref/emd.html) | ✔️ |
128
+ | [`MEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/memd.py) (Multivariate Empirical Mode Decomposition) | [[paper]](https://royalsocietypublishing.org/doi/full/10.1098/rspa.2009.0502) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/71270-fast-and-adaptive-multivariate-and-multidimensional-emd) | ✔️ |
129
+ | [`BEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd2d/bemd.py) (Bidimensional Empirical Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/abs/pii/S0262885603000945) | [[code]](https://github.com/laszukdawid/PyEMD/blob/master/PyEMD/BEMD.py) | ✖️ |
130
+ | [`CEMD`]() (Complex Empirical Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/abstract/document/4063369) | [[code]]() | ✖️ |
131
+ | [`EEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/eemd.py) (Ensemble Empirical Mode Decomposition) | [[paper]](https://www.sciencedirect.com/topics/physics-and-astronomy/ensemble-empirical-mode-decomposition) | [[code]](https://github.com/laszukdawid/PyEMD/blob/master/PyEMD/EEMD.py) | ✔️ |
132
+ | [`REMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/remd.py) (Robust Empirical Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0019057821003785) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/70032-robust-empirical-mode-decomposition-remd) | ✔️ |
133
+ | [`BMEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd2d/bmemd.py) (Bidimensional Multivariate Empirical Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/document/8805082) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/72343-bidimensional-multivariate-empirical-mode-decomposition?s_tid=FX_rc1_behav) | ✖️ |
134
+ | [`CEEMDAN`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/ceemdan.py) (Complete Ensemble EMD with Adaptive Noise) | [[paper]](https://ieeexplore.ieee.org/document/5947265) | [[code]](https://github.com/laszukdawid/PyEMD/blob/master/PyEMD/EEMD.py) | ✔️ |
135
+ | [`TVF_EMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/tvf_emd.py) (Time Varying Filter Based EMD) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0165168417301135) | [[code]](https://github.com/stfbnc/pytvfemd/tree/master) | ✔️ |
136
+ | [`FAEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_faemd/faemd.py) (Fast and Adaptive EMD) | [[paper]](https://ieeexplore.ieee.org/document/8447300) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/71270-fast-and-adaptive-multivariate-and-multidimensional-emd) | ✖️ |
137
+ | [`MV_FAEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_faemd/mv_faemd.py) (Multivariate Fast and Adaptive EMD) | [[paper]](https://ieeexplore.ieee.org/document/8447300) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/71270-fast-and-adaptive-multivariate-and-multidimensional-emd) | ✖️ |
138
+ | [`MD_FAEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_faemd/md_faemd.py) (Multidimensional Fast and Adaptive EMD) | [[paper]](https://ieeexplore.ieee.org/document/8447300) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/71270-fast-and-adaptive-multivariate-and-multidimensional-emd) | ✖️ |
139
+ | [`HVD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_hvd/hvd.py) (Hilbert Vibration Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0022460X06001556) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/178804-hilbert-vibration-decomposition?s_tid=FX_rc1_behav) | ✔️ |
140
+ | [`ITD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_itd/itd.py) (Intrinsic Time-Scale Decomposition) | [[paper]](https://royalsocietypublishing.org/doi/10.1098/rspa.2006.1761) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/69380-intrinsic-time-scale-decomposition-itd) | ✔️ |
141
+ | [`ALIF`]() (Adaptive Local Iterative Filtering) | [[paper]](https://arxiv.org/abs/1411.6051) | [[code]](https://ww2.mathworks.cn/matlabcentral/fileexchange/56210-alif) | ✖️ |
142
+ | [`LMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_lmd/lmd.py) (Local Mean Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/abs/pii/S1051200418308133?via%3Dihub) | [[code]](https://github.com/shownlin/PyLMD/blob/master/PyLMD/LMD.py) | ✔️ |
143
+ | [`RLMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_lmd/rlmd.py) (Robust Local Mean Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/abs/pii/S0888327017301619) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/66935-robust-local-mean-decomposition-rlmd) | ✖️ |
144
+ | [`FMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_fmd/fmd.py) (Feature Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/document/9732251) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/108099-feature-mode-decomposition-fmd) | ✖️ |
145
+ | [`SSA`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_ssa/ssa.py) (Singular Spectral Analysis) | [[paper]](https://orca.cardiff.ac.uk/id/eprint/15208/1/Zhiglavsky_SSA_encyclopedia.pdf) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/58967-singular-spectrum-analysis-beginners-guide) | ✔️ |
146
+ | [`EWT`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_ewt/ewt.py) (Empirical Wavelet Transform) | [[paper]](https://ieeexplore.ieee.org/document/6522142) | [[code]](https://www.mathworks.com/help/wavelet/ug/empirical-wavelet-transform.html) | ✔️ |
147
+ | [`EWT2D`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_ewt/ewt2d.py) (2D Empirical Wavelet Transform) | [[paper]](https://arxiv.org/abs/2405.06188) | [[code]](https://github.com/bhurat/EWT-Python) | ✖️ |
148
+ | [`VMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd/vmd_c.py) (Variational Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/document/6655981) | [[code]](https://github.com/vrcarva/vmdpy) | ✔️ |
149
+ | [`MVMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd/mvmd.py) (Multivariate Variational Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/document/8890883) | [[code]](https://github.com/yunyueye/MVMD) | ✔️ |
150
+ | [`VMD2D`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd2d/vmd2d.py) (Two-Dimensional Variational Mode Decomposition) | [[paper]](https://ww3.math.ucla.edu/camreport/cam14-16.pdf) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/45918-two-dimensional-variational-mode-decomposition?s_tid=srchtitle) | ✔️ |
151
+ | [`CVMD2D`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd2d/cvmd2d.py) (Two-Dimensional Compact Variational Mode Decomposition) | [[paper]](https://link.springer.com/article/10.1007/s10851-017-0710-z) | [[code]](https://ww2.mathworks.cn/matlabcentral/fileexchange/67285-two-dimensional-compact-variational-mode-decomposition-2d-tv-vmd?s_tid=FX_rc2_behav) | ✔️ |
152
+ | [`SVMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd/svmd.py) (Successive Variational Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0165168420301535) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/98649-successive-variational-mode-decomposition-svmd-m?s_tid=FX_rc3_behav) | ✖️ |
153
+ | [`VNCMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vncmd/vncmd.py) (Variational Nonlinear Chirp Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/document/7990179) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/64292-variational-nonlinear-chirp-mode-decomposition) | ✔️ |
154
+ | [`INCMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vncmd/incmd.py) (Iterative Nonlinear Chirp Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0022460X2030403X?via%3Dihub) | [[code]](https://github.com/sheadan/IterativeNCMD) | ✔️ |
155
+ | [`MNCMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vncmd/mncmd.py) (Multivariate Nonlinear Chirp Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/abs/pii/S0165168420302103) | [[code]]() | ✖️ |
156
+ | [`AVNCMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vncmd/avncmd.py) (Adaptive Variational Nonlinear Chirp Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/abstract/document/9746147) | [[code]](https://github.com/HauLiang/AVNCMD) | ✖️ |
157
+ | [`ACMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd/acmd.py) (Adaptive Chirp Mode Decomposition) | [[paper]]() | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/121373-data-driven-adaptive-chirp-mode-decomposition?s_tid=srchtitle) | ✔️ |
158
+ | [`BA-ACMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd/ba_acmd.py) (Bandwidth-aware adaptive chirp mode decomposition) | [[paper]](https://journals.sagepub.com/doi/abs/10.1177/14759217231174699) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/132792-bandwidth-aware-adaptive-chirp-mode-decomposition-ba-acmd?s_tid=srchtitle) | ✖️ |
159
+ | [`JMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_jmd/jmd.py) (Jump Plus AM-FM Mode Decomposition) | [[paper]](https://arxiv.org/abs/2407.07800) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/169388-jump-plus-am-fm-mode-decomposition-jmd?s_tid=prof_contriblnk) | ✖️ |
160
+ | [`MJMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_jmd/mjmd.py) (Multivariate Jump Plus AM-FM Mode Decomposition) | [[paper]](https://arxiv.org/abs/2407.07800) | [[code]](https://ms-intl.mathworks.com/matlabcentral/fileexchange/169393-multivariate-jump-plus-am-fm-mode-decomposition-mjmd?s_tid=FX_rc2_behav) | ✖️ |
161
+ | [`ESMD`]() (Extreme-Point Symmetric Mode Decomposition) | [[paper]](https://arxiv.org/abs/1303.6540) | [[code]](https://github.com/WuShichao/esmd) | ✖️ |
162
+ | [`STNBMD`]() (Short-Time Narrow-Band Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0022460X16002443?via%3Dihub) | [[code]](https://ww2.mathworks.cn/matlabcentral/fileexchange/56226-short-time-narrow-band-mode-decomposition-stnbmd-toolbox) | ✖️ |
163
+ | [`STL`]() (Seasonal-Trend decomposition using LOESS) | [[paper]](https://www.nniiem.ru/file/news/2016/stl-statistical-model.pdf) | [[code]](https://www.statsmodels.org/stable/examples/notebooks/generated/stl_decomposition.html) | ✖️ |
164
+ | [`MSTL`]() (Multivariate Seasonal-Trend decomposition using LOESS) | [[paper]](https://www.nniiem.ru/file/news/2016/stl-statistical-model.pdf) | [[code]](https://www.statsmodels.org/stable/examples/notebooks/generated/mstl_decomposition.html) | ✖️ |
165
+
166
+ ## Acknowledgements 🎖️ <a id="Acknowledgements"></a>
167
+
168
+ We would like to thank the researchers in signal processing for providing us with valuable algorithms and promoting the continuous progress in this field. However, since the main programming language used in `signal processing` is `Matlab`, and `Python` is the main battlefield of `machine learning` and `deep learning`, the usage of signal decomposition in machine learning and deep learning is far less extensive than `wavelet transformation`. In order to further promote the organic combination of signal decomposition and machine learning, we developed `PySDKit`. We would like to express our gratitude to [PyEMD](https://github.com/laszukdawid/PyEMD), [Sktime](https://www.sktime.net/en/latest/index.html), [Scikit-learn](https://scikit-learn.org/stable/), [Scikit-Image](https://scikit-image.org/docs/stable/), [statsmodels](https://www.statsmodels.org/stable/index.html), [vmdpy](https://github.com/vrcarva/vmdpy), [MEMD-Python-](https://github.com/mariogrune/MEMD-Python-), [ewtpy](https://github.com/vrcarva/ewtpy), [EWT-Python](https://github.com/bhurat/EWT-Python), [PyLMD](https://github.com/shownlin/PyLMD), [pywt](https://github.com/PyWavelets/pywt), [SP_Lib](https://github.com/hustcxl/SP_Lib)and [dsatools](https://github.com/MVRonkin/dsatools).
@@ -0,0 +1,168 @@
1
+ Metadata-Version: 2.2
2
+ Name: PySDKit
3
+ Version: 0.4.15
4
+ Summary: A Python library for signal decomposition algorithms with a unified interface.
5
+ Home-page: https://github.com/wwhenxuan/PySDKit
6
+ Author: whenxuan
7
+ Author-email: wwhenxuan@gmail.com
8
+ Keywords: signal decomposition,signal processing,machine learning
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
12
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Requires-Python: >=3.8
19
+ Description-Content-Type: text/markdown
20
+ Requires-Dist: numpy<=1.26.4,>=1.24.3
21
+ Requires-Dist: scipy<=1.13.1,>=1.11.1
22
+ Requires-Dist: matplotlib<=3.8.4,>=3.7.2
23
+ Requires-Dist: tqdm>=4.66.5
24
+ Requires-Dist: requests>=2.32.3
25
+ Dynamic: author
26
+ Dynamic: author-email
27
+ Dynamic: classifier
28
+ Dynamic: description
29
+ Dynamic: description-content-type
30
+ Dynamic: home-page
31
+ Dynamic: keywords
32
+ Dynamic: requires-dist
33
+ Dynamic: requires-python
34
+ Dynamic: summary
35
+
36
+ # PySDKit: signal decomposition in Python
37
+
38
+ <div align="center">
39
+
40
+ [![PyPI version](https://badge.fury.io/py/PySDKit.svg)](https://pypi.org/project/PySDKit/)
41
+ ![License](https://img.shields.io/github/license/wwhenxuan/PySDKit)
42
+ [![Python](https://img.shields.io/badge/python-3.8+-blue?logo=python)](https://www.python.org/)
43
+ [![Downloads](https://pepy.tech/badge/pysdkit)](https://pepy.tech/project/pysdkit)
44
+ [![codestyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
45
+
46
+ A Python library for signal decomposition algorithms 🥳
47
+
48
+ [Installation](#Installation) |
49
+ [Example Script](#Example-Script) |
50
+ [Target](#Target) |
51
+ [Acknowledgements](#Acknowledgements)
52
+
53
+ <img src="https://raw.githubusercontent.com/wwhenxuan/PySDKit/main/images/Logo_sd.png" alt="Logo_sd" width="500"/>
54
+
55
+ </div>
56
+
57
+ ## Installation 🚀 <a id="Installation"></a>
58
+
59
+ You can install `PySDKit` through pip:
60
+
61
+ ~~~
62
+ pip install pysdkit
63
+ ~~~
64
+
65
+ We only used [`NumPy`](https://numpy.org/), [`Scipy`](https://scipy.org/) and [`matplotlib`](https://matplotlib.org/) when developing the project.
66
+
67
+ ## Example Script ✨ <a id="Example-Script"></a>
68
+
69
+ This project integrates simple signal processing methods, signal decomposition and visualization, and builds a general interface similar to [`Scikit-learn`](https://scikit-learn.org/stable/). It is mainly divided into three steps:
70
+ 1. Import the signal decomposition method;
71
+ 2. Create an instance for signal decomposition;
72
+ 3. Use the `fit_transform` method to implement signal decomposition;
73
+ 4. Visualize and analyze the original signal and the intrinsic mode functions IMFs obtained by decomposition.
74
+
75
+ ~~~python
76
+ from pysdkit import EMD
77
+ from pysdkit.data import test_emd
78
+ from pysdkit.plot import plot_IMFs
79
+
80
+ t, signal = test_emd()
81
+
82
+ # create an instance for signal decomposition
83
+ emd = EMD()
84
+ # implement signal decomposition
85
+ IMFs = emd.fit_transform(signal, max_imfs=2)
86
+ plot_IMFs(signal, IMFs)
87
+ ~~~
88
+
89
+ ![example](https://raw.githubusercontent.com/wwhenxuan/PySDKit/main/images/example.jpg)
90
+
91
+ The EMD in the above example is the most classic [`empirical mode decomposition`](https://www.mathworks.com/help/signal/ref/emd.html) algorithm in signal decomposition. For more complex signals, you can try other algorithms such as variational mode decomposition ([`VMD`](https://ieeexplore.ieee.org/abstract/document/6655981)).
92
+
93
+ ~~~python
94
+ import numpy as np
95
+ from pysdkit import VMD
96
+
97
+ # load new signal
98
+ signal = np.load("./example/example.npy")
99
+
100
+ # use variational mode decomposition
101
+ vmd = VMD(alpha=500, K=3, tau=0.0, tol=1e-9)
102
+ IMFs = vmd.fit_transform(signal=signal)
103
+ print(IMFs.shape)
104
+
105
+ vmd.plot_IMFs(save_figure=True)
106
+ ~~~
107
+
108
+ ![vmd_example](https://raw.githubusercontent.com/wwhenxuan/PySDKit/main/images/vmd_example.jpg)
109
+
110
+ Better observe the characteristics of the decomposed intrinsic mode function in the frequency domain.
111
+
112
+ ~~~python
113
+ from pysdkit.plot import plot_IMFs_amplitude_spectra
114
+
115
+ # frequency domain visualization
116
+ plot_IMFs_amplitude_spectra(IMFs, smooth="exp") # use exp smooth
117
+ ~~~
118
+
119
+ ![frequency_example](https://raw.githubusercontent.com/wwhenxuan/PySDKit/main/images/frequency_example.jpg)
120
+
121
+ ## Target 🎯 <a id="Target"></a>
122
+
123
+ `PySDKit` is still under development. We are currently working on reproducing the signal decomposition algorithms in the table below, including not only common decomposition algorithms for `univariate signals` such as EMD and VMD, but also decomposition algorithms for `multivariate signals` such as MEMD and MVMD. We will also further reproduce the decomposition algorithms for `two-dimensional images` to make PySDKit not only suitable for signal processing, but also for image analysis and understanding. See [`Mission`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/README.md) for the reasons why we developed PySDKit.
124
+
125
+ | Algorithm | Paper | Code | State |
126
+ | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :---: |
127
+ | [`EMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/emd.py) (Empirical Mode Decomposition) | [[paper]](https://royalsocietypublishing.org/doi/abs/10.1098/rspa.1998.0193) | [[code]](https://www.mathworks.com/help/signal/ref/emd.html) | ✔️ |
128
+ | [`MEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/memd.py) (Multivariate Empirical Mode Decomposition) | [[paper]](https://royalsocietypublishing.org/doi/full/10.1098/rspa.2009.0502) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/71270-fast-and-adaptive-multivariate-and-multidimensional-emd) | ✔️ |
129
+ | [`BEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd2d/bemd.py) (Bidimensional Empirical Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/abs/pii/S0262885603000945) | [[code]](https://github.com/laszukdawid/PyEMD/blob/master/PyEMD/BEMD.py) | ✖️ |
130
+ | [`CEMD`]() (Complex Empirical Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/abstract/document/4063369) | [[code]]() | ✖️ |
131
+ | [`EEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/eemd.py) (Ensemble Empirical Mode Decomposition) | [[paper]](https://www.sciencedirect.com/topics/physics-and-astronomy/ensemble-empirical-mode-decomposition) | [[code]](https://github.com/laszukdawid/PyEMD/blob/master/PyEMD/EEMD.py) | ✔️ |
132
+ | [`REMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/remd.py) (Robust Empirical Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0019057821003785) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/70032-robust-empirical-mode-decomposition-remd) | ✔️ |
133
+ | [`BMEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd2d/bmemd.py) (Bidimensional Multivariate Empirical Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/document/8805082) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/72343-bidimensional-multivariate-empirical-mode-decomposition?s_tid=FX_rc1_behav) | ✖️ |
134
+ | [`CEEMDAN`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/ceemdan.py) (Complete Ensemble EMD with Adaptive Noise) | [[paper]](https://ieeexplore.ieee.org/document/5947265) | [[code]](https://github.com/laszukdawid/PyEMD/blob/master/PyEMD/EEMD.py) | ✔️ |
135
+ | [`TVF_EMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_emd/tvf_emd.py) (Time Varying Filter Based EMD) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0165168417301135) | [[code]](https://github.com/stfbnc/pytvfemd/tree/master) | ✔️ |
136
+ | [`FAEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_faemd/faemd.py) (Fast and Adaptive EMD) | [[paper]](https://ieeexplore.ieee.org/document/8447300) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/71270-fast-and-adaptive-multivariate-and-multidimensional-emd) | ✖️ |
137
+ | [`MV_FAEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_faemd/mv_faemd.py) (Multivariate Fast and Adaptive EMD) | [[paper]](https://ieeexplore.ieee.org/document/8447300) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/71270-fast-and-adaptive-multivariate-and-multidimensional-emd) | ✖️ |
138
+ | [`MD_FAEMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_faemd/md_faemd.py) (Multidimensional Fast and Adaptive EMD) | [[paper]](https://ieeexplore.ieee.org/document/8447300) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/71270-fast-and-adaptive-multivariate-and-multidimensional-emd) | ✖️ |
139
+ | [`HVD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_hvd/hvd.py) (Hilbert Vibration Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0022460X06001556) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/178804-hilbert-vibration-decomposition?s_tid=FX_rc1_behav) | ✔️ |
140
+ | [`ITD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_itd/itd.py) (Intrinsic Time-Scale Decomposition) | [[paper]](https://royalsocietypublishing.org/doi/10.1098/rspa.2006.1761) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/69380-intrinsic-time-scale-decomposition-itd) | ✔️ |
141
+ | [`ALIF`]() (Adaptive Local Iterative Filtering) | [[paper]](https://arxiv.org/abs/1411.6051) | [[code]](https://ww2.mathworks.cn/matlabcentral/fileexchange/56210-alif) | ✖️ |
142
+ | [`LMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_lmd/lmd.py) (Local Mean Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/abs/pii/S1051200418308133?via%3Dihub) | [[code]](https://github.com/shownlin/PyLMD/blob/master/PyLMD/LMD.py) | ✔️ |
143
+ | [`RLMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_lmd/rlmd.py) (Robust Local Mean Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/abs/pii/S0888327017301619) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/66935-robust-local-mean-decomposition-rlmd) | ✖️ |
144
+ | [`FMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_fmd/fmd.py) (Feature Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/document/9732251) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/108099-feature-mode-decomposition-fmd) | ✖️ |
145
+ | [`SSA`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_ssa/ssa.py) (Singular Spectral Analysis) | [[paper]](https://orca.cardiff.ac.uk/id/eprint/15208/1/Zhiglavsky_SSA_encyclopedia.pdf) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/58967-singular-spectrum-analysis-beginners-guide) | ✔️ |
146
+ | [`EWT`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_ewt/ewt.py) (Empirical Wavelet Transform) | [[paper]](https://ieeexplore.ieee.org/document/6522142) | [[code]](https://www.mathworks.com/help/wavelet/ug/empirical-wavelet-transform.html) | ✔️ |
147
+ | [`EWT2D`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_ewt/ewt2d.py) (2D Empirical Wavelet Transform) | [[paper]](https://arxiv.org/abs/2405.06188) | [[code]](https://github.com/bhurat/EWT-Python) | ✖️ |
148
+ | [`VMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd/vmd_c.py) (Variational Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/document/6655981) | [[code]](https://github.com/vrcarva/vmdpy) | ✔️ |
149
+ | [`MVMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd/mvmd.py) (Multivariate Variational Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/document/8890883) | [[code]](https://github.com/yunyueye/MVMD) | ✔️ |
150
+ | [`VMD2D`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd2d/vmd2d.py) (Two-Dimensional Variational Mode Decomposition) | [[paper]](https://ww3.math.ucla.edu/camreport/cam14-16.pdf) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/45918-two-dimensional-variational-mode-decomposition?s_tid=srchtitle) | ✔️ |
151
+ | [`CVMD2D`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd2d/cvmd2d.py) (Two-Dimensional Compact Variational Mode Decomposition) | [[paper]](https://link.springer.com/article/10.1007/s10851-017-0710-z) | [[code]](https://ww2.mathworks.cn/matlabcentral/fileexchange/67285-two-dimensional-compact-variational-mode-decomposition-2d-tv-vmd?s_tid=FX_rc2_behav) | ✔️ |
152
+ | [`SVMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd/svmd.py) (Successive Variational Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0165168420301535) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/98649-successive-variational-mode-decomposition-svmd-m?s_tid=FX_rc3_behav) | ✖️ |
153
+ | [`VNCMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vncmd/vncmd.py) (Variational Nonlinear Chirp Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/document/7990179) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/64292-variational-nonlinear-chirp-mode-decomposition) | ✔️ |
154
+ | [`INCMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vncmd/incmd.py) (Iterative Nonlinear Chirp Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0022460X2030403X?via%3Dihub) | [[code]](https://github.com/sheadan/IterativeNCMD) | ✔️ |
155
+ | [`MNCMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vncmd/mncmd.py) (Multivariate Nonlinear Chirp Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/abs/pii/S0165168420302103) | [[code]]() | ✖️ |
156
+ | [`AVNCMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vncmd/avncmd.py) (Adaptive Variational Nonlinear Chirp Mode Decomposition) | [[paper]](https://ieeexplore.ieee.org/abstract/document/9746147) | [[code]](https://github.com/HauLiang/AVNCMD) | ✖️ |
157
+ | [`ACMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd/acmd.py) (Adaptive Chirp Mode Decomposition) | [[paper]]() | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/121373-data-driven-adaptive-chirp-mode-decomposition?s_tid=srchtitle) | ✔️ |
158
+ | [`BA-ACMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_vmd/ba_acmd.py) (Bandwidth-aware adaptive chirp mode decomposition) | [[paper]](https://journals.sagepub.com/doi/abs/10.1177/14759217231174699) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/132792-bandwidth-aware-adaptive-chirp-mode-decomposition-ba-acmd?s_tid=srchtitle) | ✖️ |
159
+ | [`JMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_jmd/jmd.py) (Jump Plus AM-FM Mode Decomposition) | [[paper]](https://arxiv.org/abs/2407.07800) | [[code]](https://www.mathworks.com/matlabcentral/fileexchange/169388-jump-plus-am-fm-mode-decomposition-jmd?s_tid=prof_contriblnk) | ✖️ |
160
+ | [`MJMD`](https://github.com/wwhenxuan/PySDKit/blob/main/pysdkit/_jmd/mjmd.py) (Multivariate Jump Plus AM-FM Mode Decomposition) | [[paper]](https://arxiv.org/abs/2407.07800) | [[code]](https://ms-intl.mathworks.com/matlabcentral/fileexchange/169393-multivariate-jump-plus-am-fm-mode-decomposition-mjmd?s_tid=FX_rc2_behav) | ✖️ |
161
+ | [`ESMD`]() (Extreme-Point Symmetric Mode Decomposition) | [[paper]](https://arxiv.org/abs/1303.6540) | [[code]](https://github.com/WuShichao/esmd) | ✖️ |
162
+ | [`STNBMD`]() (Short-Time Narrow-Band Mode Decomposition) | [[paper]](https://www.sciencedirect.com/science/article/pii/S0022460X16002443?via%3Dihub) | [[code]](https://ww2.mathworks.cn/matlabcentral/fileexchange/56226-short-time-narrow-band-mode-decomposition-stnbmd-toolbox) | ✖️ |
163
+ | [`STL`]() (Seasonal-Trend decomposition using LOESS) | [[paper]](https://www.nniiem.ru/file/news/2016/stl-statistical-model.pdf) | [[code]](https://www.statsmodels.org/stable/examples/notebooks/generated/stl_decomposition.html) | ✖️ |
164
+ | [`MSTL`]() (Multivariate Seasonal-Trend decomposition using LOESS) | [[paper]](https://www.nniiem.ru/file/news/2016/stl-statistical-model.pdf) | [[code]](https://www.statsmodels.org/stable/examples/notebooks/generated/mstl_decomposition.html) | ✖️ |
165
+
166
+ ## Acknowledgements 🎖️ <a id="Acknowledgements"></a>
167
+
168
+ We would like to thank the researchers in signal processing for providing us with valuable algorithms and promoting the continuous progress in this field. However, since the main programming language used in `signal processing` is `Matlab`, and `Python` is the main battlefield of `machine learning` and `deep learning`, the usage of signal decomposition in machine learning and deep learning is far less extensive than `wavelet transformation`. In order to further promote the organic combination of signal decomposition and machine learning, we developed `PySDKit`. We would like to express our gratitude to [PyEMD](https://github.com/laszukdawid/PyEMD), [Sktime](https://www.sktime.net/en/latest/index.html), [Scikit-learn](https://scikit-learn.org/stable/), [Scikit-Image](https://scikit-image.org/docs/stable/), [statsmodels](https://www.statsmodels.org/stable/index.html), [vmdpy](https://github.com/vrcarva/vmdpy), [MEMD-Python-](https://github.com/mariogrune/MEMD-Python-), [ewtpy](https://github.com/vrcarva/ewtpy), [EWT-Python](https://github.com/bhurat/EWT-Python), [PyLMD](https://github.com/shownlin/PyLMD), [pywt](https://github.com/PyWavelets/pywt), [SP_Lib](https://github.com/hustcxl/SP_Lib)and [dsatools](https://github.com/MVRonkin/dsatools).
@@ -0,0 +1,115 @@
1
+ README.md
2
+ setup.py
3
+ PySDKit.egg-info/PKG-INFO
4
+ PySDKit.egg-info/SOURCES.txt
5
+ PySDKit.egg-info/dependency_links.txt
6
+ PySDKit.egg-info/requires.txt
7
+ PySDKit.egg-info/top_level.txt
8
+ pysdkit/__init__.py
9
+ pysdkit/_emd/__init__.py
10
+ pysdkit/_emd/_find_extrema.py
11
+ pysdkit/_emd/_prepare_points.py
12
+ pysdkit/_emd/_splines.py
13
+ pysdkit/_emd/ceemdan.py
14
+ pysdkit/_emd/eemd.py
15
+ pysdkit/_emd/emd.py
16
+ pysdkit/_emd/memd.py
17
+ pysdkit/_emd/remd.py
18
+ pysdkit/_emd/tvf_emd.py
19
+ pysdkit/_emd2d/__init__.py
20
+ pysdkit/_emd2d/bemd.py
21
+ pysdkit/_emd2d/bmemd.py
22
+ pysdkit/_emd2d/emd2d.py
23
+ pysdkit/_esmd/__init__.py
24
+ pysdkit/_esmd/esmd.py
25
+ pysdkit/_ewt/__init__.py
26
+ pysdkit/_ewt/ewt.py
27
+ pysdkit/_ewt/ewt2d.py
28
+ pysdkit/_faemd/__init__.py
29
+ pysdkit/_faemd/extrema.py
30
+ pysdkit/_faemd/faemd.py
31
+ pysdkit/_faemd/filter.py
32
+ pysdkit/_faemd/md_faemd.py
33
+ pysdkit/_faemd/mv_faemd.py
34
+ pysdkit/_fmd/__init__.py
35
+ pysdkit/_fmd/fmd.py
36
+ pysdkit/_hvd/__init__.py
37
+ pysdkit/_hvd/hvd.py
38
+ pysdkit/_ifd/__init__.py
39
+ pysdkit/_itd/__init__.py
40
+ pysdkit/_itd/itd.py
41
+ pysdkit/_jmd/__init__.py
42
+ pysdkit/_jmd/jmd.py
43
+ pysdkit/_jmd/mjmd.py
44
+ pysdkit/_lmd/__init__.py
45
+ pysdkit/_lmd/lmd.py
46
+ pysdkit/_lmd/rlmd.py
47
+ pysdkit/_ssa/__init__.py
48
+ pysdkit/_ssa/ssa.py
49
+ pysdkit/_vmd/__init__.py
50
+ pysdkit/_vmd/acmd.py
51
+ pysdkit/_vmd/avmd.py
52
+ pysdkit/_vmd/ba_acmd.py
53
+ pysdkit/_vmd/base.py
54
+ pysdkit/_vmd/mvmd.py
55
+ pysdkit/_vmd/svmd.py
56
+ pysdkit/_vmd/vmd_c.py
57
+ pysdkit/_vmd/vmd_f.py
58
+ pysdkit/_vmd2d/__init__.py
59
+ pysdkit/_vmd2d/cvmd2d.py
60
+ pysdkit/_vmd2d/vmd2d.py
61
+ pysdkit/_vncmd/__init__.py
62
+ pysdkit/_vncmd/anvcmd.py
63
+ pysdkit/_vncmd/incmd.py
64
+ pysdkit/_vncmd/mncmd.py
65
+ pysdkit/_vncmd/vncmd.py
66
+ pysdkit/data/__init__.py
67
+ pysdkit/data/_add_noise.py
68
+ pysdkit/data/_cube.py
69
+ pysdkit/data/_generator.py
70
+ pysdkit/data/_image.py
71
+ pysdkit/data/_time_series.py
72
+ pysdkit/data/texture.txt
73
+ pysdkit/entropy/__init__.py
74
+ pysdkit/entropy/_approxiamte_entropy.py
75
+ pysdkit/entropy/_permutation_entropy.py
76
+ pysdkit/entropy/_sample_entropy.py
77
+ pysdkit/hht/__init__.py
78
+ pysdkit/hht/hht.py
79
+ pysdkit/plot/__init__.py
80
+ pysdkit/plot/_fourier_spectra.py
81
+ pysdkit/plot/_functions.py
82
+ pysdkit/plot/_plot_images.py
83
+ pysdkit/plot/_plot_imfs.py
84
+ pysdkit/plot/_plot_signal.py
85
+ pysdkit/tests/__init__.py
86
+ pysdkit/tests/test_all.py
87
+ pysdkit/tests/test_emd.py
88
+ pysdkit/tests/test_ewt.py
89
+ pysdkit/tests/test_generator_cube.py
90
+ pysdkit/tests/test_generator_image.py
91
+ pysdkit/tests/test_generator_signal.py
92
+ pysdkit/tests/test_moving_decomp.py
93
+ pysdkit/tests/test_vmd.py
94
+ pysdkit/tests/test_vmd2d.py
95
+ pysdkit/tsa/__init__.py
96
+ pysdkit/tsa/_dtw.py
97
+ pysdkit/tsa/_moving_decomp.py
98
+ pysdkit/tsa/_mstl.py
99
+ pysdkit/tsa/_stl.py
100
+ pysdkit/utils/_Index_of_Orthogonality.py
101
+ pysdkit/utils/__init__.py
102
+ pysdkit/utils/_cite.py
103
+ pysdkit/utils/_correlation.py
104
+ pysdkit/utils/_diagnalization.py
105
+ pysdkit/utils/_differ.py
106
+ pysdkit/utils/_fft.py
107
+ pysdkit/utils/_function.py
108
+ pysdkit/utils/_hilbert.py
109
+ pysdkit/utils/_instantaneous.py
110
+ pysdkit/utils/_kernel_matrix.py
111
+ pysdkit/utils/_lags.py
112
+ pysdkit/utils/_mirror.py
113
+ pysdkit/utils/_process.py
114
+ pysdkit/utils/_smooth1d.py
115
+ pysdkit/utils/_types.py