PyLMD
Method of decomposing signal into Product Functions
This project implements the paper:
How to install?
pip install PyLMD
requirements:
- numpy
- scipy
Examples
>>> import numpy as np
>>> from PyLMD import LMD
>>> x = np.linspace(0, 100, 101)
>>> y = 2 / 3 * np.sin(x * 30) + 2 / 3 * np.sin(x * 17.5) + 4 / 5 * np.cos(x * 2)
>>> lmd = LMD()
>>> PFs, resdue = lmd.lmd(y)
>>> PFs.shape
(6, 101)
Parameters
-
INCLUDE_ENDPOINTS : bool, (default: True)
Whether to treat the endpoint of the signal as a pseudo-extreme point
-
max_smooth_iteration : int, (default: 12)
Maximum number of iterations of moving average algorithm.
-
max_envelope_iteration : int, (default: 200)
Maximum number of iterations when separating local envelope signals.
-
envelope_epsilon : float, (default: 0.01)
Terminate processing when obtaining pure FM signal.
-
convergence_epsilon : float, (default: 0.01)
Terminate processing when modulation signal converges.
-
max_num_pf : int, (default: 8)
The maximum number of PFs generated.
Return
-
PFs : numpy array
The decompose functions arrange is arranged from high frequency to low frequency.
-
residue : numpy array
residual component
Contact
Use GitHub Issues or the mailing list to post your comments or questions.
License
PyLMD is a free Open Source software released under the MIT license.
Lin, Q., 2020. Python Implementation Of Local Mean Decomposition Algorithm. (https://github.com/shownlin/PyLMD)
Metadata
Release files for PyLMD 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PyLMD-1.0.4.tar.gz | 177.7 kB | Without provenance | Details for PyLMD-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PyLMD-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for PyLMD-1.0.4-py3-none-any.whl |
Total release size: 183.7 kB
Release files / PyLMD-1.0.4.tar.gz
| Download URL | PyLMD-1.0.4.tar.gz |
|---|---|
| Size | 177.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26292ccc1fd80c354018beab8c3d1b180e74a0f8f3e599c0975daf4b9f860377
|
|
BLAKE2b-256 checksum How to use checksums |
179c409fa0bd9d06f969edf7342a5946cfe455c02bd80bdd154831418d3df47b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
|
Release files / PyLMD-1.0.4-py3-none-any.whl
| Download URL | PyLMD-1.0.4-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ef67e09ae7b017dd9568b93fac177a23655091c1150814b7d1dfabdaa74a9e2
|
|
BLAKE2b-256 checksum How to use checksums |
a32495acd9229b4ef6482da1ed9b2cf7a80ce84ec1879e7049eda12f47a3fb86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
|
Security for PyLMD 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.