PyWavelets / pywt

PyWavelets - Wavelet Transforms in Python
http://pywavelets.readthedocs.org
MIT License
1.97k stars 460 forks source link

added a frequency2scale function as the dual to scale2frequency #635

Closed tkuraku closed 1 year ago

tkuraku commented 2 years ago

Hi, I added a frequency2scale function as the dual of scale2frequency. In my own use of PyWavelets I find this function useful and felt it would be a nice addition.

grlee77 commented 2 years ago

Thanks @tkuraku, it seems reasonable to provide this function. Can you document it in https://github.com/PyWavelets/pywt/blob/master/doc/source/ref/cwt.rst as well?

tkuraku commented 2 years ago

@grlee77 Thanks for considering my pull request. I have added some documentation and squashed my commits. take a look and let me know if you have any requests.