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.

Source Distribution

emdpy_z-0.0.3.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

emdpy_z-0.0.3-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page