laszukdawid / PyEMD

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

EEMD triggers large number of tkinter open windows? #78

Closed MortimerMcMire closed 7 months ago

MortimerMcMire commented 4 years ago

Specifically line 191 of EEMD max_imfNo = max([IMFs.shape[0] for IMFs in all_IMFs_1])

whenever it hits this line it opens up a tkinter "open" file dialogue window for every IMF generated

I know in other programs sometimes they ask for user input to generate noise but I don't think its the case here?

edit: for the record, the result looks fine, and regular EMD does not have this behavior when I run the exact same input into it.

laszukdawid commented 4 years ago

That is... surprising. When did you download the module? What does it say when you do print(PyEMD.__version__)?

I'm guessing that was about a month ago. That line used to be the first line when the EEMD would be computed, due to lazy evaluation a few lines earlier with imap. My suspicion is that either your IDE uses the same way of handling processes and gets confused, or that the lib for handling processes is using tkinter behind the scene.

What OS are you using?

MortimerMcMire commented 4 years ago

Version doesn't exist as an attribute in my PyEMD, but it was 0.2.8. Installed it from PyPi on 2020-04-07, I'm using IDLE on W10. I uninstalled and reinstalled, it's now 0.2.9, i'll see if the issue still persists

laszukdawid commented 7 months ago

Closing as it's been a while. I don't think the issue is there anymore.