Open oshin94 opened 2 years ago
Hi @oshin94 , super sorry that it took my that long to reply! Simple distraction combined with forgetfulness.
As it is right now, I haven't heard of anyone using this module so it should be relatively safe to update it. It's a bit on me that I didn't do thorough check. Feel free to create a PR and we can work on it together :-)
Describe the bug The re-scaling step in the "a posterior" test is not accurate at the moment. In the current method, the IMFs are rescaled using a "subtraction/addition" operation. This does not always give the correct output. The proper way to do this would be re-scaling the IMFs using a "division/multiplication" operation. Currently, this is what we are using. https://github.com/laszukdawid/PyEMD/blob/5859f5ea7e435ffc6e5130e5a1df9cd71784a75d/PyEMD/checks.py#L118-L125
To Reproduce Proposed changes,
@laszukdawid Please advise if I shall raise a pull request. Also, I am hoping to add visualizations for the tests so that users can visually check if the outputs are as expected. Do let me know if that will be required.