PySDKit 0.4.8__tar.gz → 0.4.10__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.
- {pysdkit-0.4.8 → pysdkit-0.4.10}/PKG-INFO +1 -1
- {pysdkit-0.4.8 → pysdkit-0.4.10}/PySDKit.egg-info/PKG-INFO +1 -1
- {pysdkit-0.4.8 → pysdkit-0.4.10}/PySDKit.egg-info/SOURCES.txt +1 -1
- pysdkit-0.4.10/pysdkit/data/image.py +23 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/setup.py +1 -1
- pysdkit-0.4.8/pysdkit/data/texture.txt +0 -256
- {pysdkit-0.4.8 → pysdkit-0.4.10}/PySDKit.egg-info/dependency_links.txt +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/PySDKit.egg-info/requires.txt +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/PySDKit.egg-info/top_level.txt +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/README.md +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/data/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/data/_add_noise.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/data/_generator.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/emd/BEMD.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/emd/EMD.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/emd/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/emd/_find_extrema.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/emd/_prepare_points.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/emd/_splines.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/emd2d/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/ewt/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/ewt/ewt.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/faemd/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/faemd/faemd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/faemd/md_faemd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/faemd/mv_faemd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/fmd/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/fmd/fmd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/ifd/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/itd/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/itd/itd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/lmd/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/lmd/lmd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/lmd/rlmd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/plot/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/plot/_fourier_spectra.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/plot/_functions.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/plot/_plot_imfs.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/plot/plot_GrayScale.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/tvf_emd/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/tvf_emd/tvf_emd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/utils/_Index_of_Orthogonality.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/utils/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/utils/_differ.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/utils/_fft.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/utils/_function.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/utils/_smooth1d.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/utils/hilbert.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/utils/instantaneous.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/utils/mirror.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/utils/process.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vmd/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vmd/acmd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vmd/avmd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vmd/base.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vmd/mvmd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vmd/svmd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vmd/vmd_c.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vmd/vmd_f.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vmd2d/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vmd2d/vmd2d.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vncmd/__init__.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/pysdkit/vncmd/vncmd.py +0 -0
- {pysdkit-0.4.8 → pysdkit-0.4.10}/setup.cfg +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
Created on 2025/02/02 13:01:46
|
|
4
|
+
@author: Whenxuan Wang
|
|
5
|
+
@email: wwhenxuan@gmail.com
|
|
6
|
+
生成用于测试二维图像数据的样例
|
|
7
|
+
"""
|
|
8
|
+
import numpy as np
|
|
9
|
+
from os import path
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def test_grayscale() -> np.ndarray:
|
|
13
|
+
"""
|
|
14
|
+
加载用于测试的二维灰度图像样例
|
|
15
|
+
This data comes from https://www.mathworks.com/matlabcentral/fileexchange/45918-two-dimensional-variational-mode-decomposition
|
|
16
|
+
Konstantin, Dragomiretskiy, and Dominique Zosso. "Two-dimensional variational mode decomposition."
|
|
17
|
+
Energy Minimization Methods in Computer Vision and Pattern Recognition. Vol. 8932. 2015.
|
|
18
|
+
"""
|
|
19
|
+
# 获取当前数据的路径
|
|
20
|
+
current_file_path = path.dirname(path.abspath(__file__))
|
|
21
|
+
data_path = path.join(current_file_path, "texture.txt")
|
|
22
|
+
# 读取数据并返回文件
|
|
23
|
+
return np.loadtxt(data_path)
|
|
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
6
6
|
setuptools.setup(
|
|
7
7
|
name='PySDKit', # 使用包的名称
|
|
8
8
|
packages=setuptools.find_packages(),
|
|
9
|
-
version='0.4.
|
|
9
|
+
version='0.4.10', # 包的版本号,应遵循语义版本控制规则
|
|
10
10
|
description='A Python library for signal decomposition algorithms with a unified interface.', # 包的简短描述
|
|
11
11
|
url='https://github.com/wwhenxuan/PySDKit', # 项目的地址通常来说是github
|
|
12
12
|
author='whenxuan',
|