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