Skip to content

Conversation

wenh06
Copy link
Contributor

@wenh06 wenh06 commented Jan 16, 2025

This PR fixes issue #525

@tompollard
Copy link
Member

Thanks @wenh06! If copying, we need to make sure that we follow the license terms, which I think are here: https://github.com/scipy/scipy/blob/main/LICENSE.txt

Alternatively, we could add a dependency on the recommended package: https://pywavelets.readthedocs.io/en/latest/

@wenh06
Copy link
Contributor Author

wenh06 commented Jan 18, 2025

The ricker wavelet is defined as

$$ \psi (t)={\frac {2}{{\sqrt {3\sigma }}\pi ^{1/4}}}\left(1-\left({\frac {t}{\sigma }}\right)^{2}\right)e^{-{\frac {1}{2} \left({\frac {t}{\sigma }}\right)^{2}}} $$

But pywt seems to fix $\sigma = 1$, I don't know how to change this parameter with pywt.

@tompollard
Copy link
Member

Looks good to me, thanks again @wenh06

@tompollard tompollard merged commit d8b620c into MIT-LCP:main Jan 21, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants