laszukdawid / PyEMD

Python implementation of Empirical Mode Decompoisition (EMD) method
https://pyemd.readthedocs.io/
Apache License 2.0
867 stars 224 forks source link

how to reconstruct signal after getting IMFs? #15

Closed wangwuqi closed 6 years ago

wangwuqi commented 6 years ago

I use CEEMDAN to get IMFs, then how to reconstruct signal?

da=raw.get_data()
emd = CEEMDAN()
IMFs = emd(da[0,500:1000])
plt.plot(da[0,500:1000])
plt.show()

plt.plot(IMFs.T)
plt.show()
ceemdan
laszukdawid commented 6 years ago

EMD and so on decompose signal into components. To reconstruct it you just sum up back components. In your case da = np.sum(IMFs, axis=0)

wangwuqi commented 6 years ago

ok,I get it. Thank you