Skip to content

Enhance _cwt.py by introducing a configurable hop size parameter - #804

Open
phandangthoai wants to merge 44 commits into
PyWavelets:mainfrom
phandangthoai:phandangthoai-optimal-scalogram
Open

phandangthoai wants to merge 44 commits into
PyWavelets:mainfrom
phandangthoai:phandangthoai-optimal-scalogram

Conversation

@phandangthoai

Copy link
Copy Markdown
Contributor

Generating a scalogram from the full output of the Continuous Wavelet Transform (CWT) entails high computational cost while providing limited performance gains in acoustic recognition models based on deep learning. Therefore, this update proposes reducing the output size during the intermediate processing stage—rather than after CWT generation—to improve computational efficiency of CWT. This pull request reflects the research findings presented in the following paper.

Phan, D. T., Huynh, T. A., Pham, V. T., Tran, C. M., Mai, V. T., & Tran, N. Q. (2025). Optimal Scalogram for Computational Complexity Reduction in Acoustic Recognition Using Deep Learning. arXiv preprint arXiv:2505.13017.

Generating a scalogram from the full output of the Continuous Wavelet Transform (CWT) entails high computational cost while providing limited performance gains in acoustic recognition models based on deep learning. Therefore, this update proposes reducing the output size during the intermediate processing stage—rather than after CWT generation—to improve computational efficiency of CWT. This pull request reflects the research findings presented in the following paper.

Phan, D. T., Huynh, T. A., Pham, V. T., Tran, C. M., Mai, V. T., & Tran, N. Q. (2025). Optimal Scalogram for Computational Complexity Reduction in Acoustic Recognition Using Deep Learning. arXiv preprint arXiv:2505.13017.

@rgommers rgommers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @phandangthoai. A few quick review comments inline. This change also needs tests, and it would be good to demonstrate what the gain of this is with a small benchmark.

Comment thread pywt/_cwt.py Resolved
Comment thread pywt/_cwt.py Resolved
@phandangthoai

Copy link
Copy Markdown
Contributor Author

Hello @rgommers,
Thanks for your quick reply with the guidelines. I am in preparation to response to your review comments accordingly.