Skip to content

CEEMDAN function only yields 2 IMFs no matter the input signal #30

@3SMMZRjWgS

Description

@3SMMZRjWgS

Describe the bug
When attempting to decompose inputs using a stock's adjusted close price (e.g. SPY), CEEMDAN function only yields 2 IMFs. I've run CEEMDAN from other packages such as PyEMD in Python and Rlibeemd in R, both consistently return 10+ IMFs for SPY. When I tested against other popular common stocks, the outcome is the same: 2 IMFs only.

Based on preliminary diagnosis, it appears the bug maybe in _run_eemd() within CEEMDAN where self.max_imfs might be overwriting actual number of IMFs?

Expected behavior
Number of IMFs can exceed 2

Desktop (please complete the following information):

  • OS: Windows WSL2 using Ubuntu 24.04
  • pysdkit: 0.4.18

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions