Skip to main content

Empirical Mode Decomposition, EMD

Project description

Empirical Mode Decomposition, EMD

Installation

    pip install emdpy-z

Quick Start

    # Import 
    from emdpy.emd import *
    import numpy as np

    # Input
    t = np.linspace(0, 1, 1000)
    modes = np.sin(2 * np.pi * 5 * t) + np.sin(2 * np.pi * 10 * t)
    y = modes + t
    x, y = t, y

    # EMD
    imfs, res, (mean, std) = emd(x, y, mode=0, ps=len(x), max_iter_num = 20)

    # Plot the figs
    plot_imfs(imfs, res, col=1)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for emdpy-z, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size emdpy_z-0.0.3-py3-none-any.whl (13.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size emdpy_z-0.0.3.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page