Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: highlighted deprecations with backward compatibility information #778

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

meiyasan
Copy link

@meiyasan meiyasan commented Nov 22, 2024

Hello,

I wanted to suppress the deprecation warning when using the cmor continuous wavelet family in my code. Instead of removing the message entirely, I highlight the initial parameters of the deprecated wavelet names for reference.

Below is the code snippet I’m working with:

import pywt
wavelets = ["fbsp", "cmor", "shan"]
for wavelet in wavelets:
    w = pywt.ContinuousWavelet(wavelet)
    print(wavelet)
    print("M = ", w.fbsp_order)
    print("B = ", w.bandwidth_frequency)
    print("C = ", w.center_frequency)
    print("")

@meiyasan meiyasan changed the title highlighted deprecations with backward compatibility information DOC: highlighted deprecations with backward compatibility information Nov 22, 2024
Copy link
Collaborator

@agriyakhetarpal agriyakhetarpal left a comment

Choose a reason for hiding this comment

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

Thanks, @meiyasan!

pywt/_extensions/_pywt.pyx Outdated Show resolved Hide resolved
pywt/_extensions/_pywt.pyx Outdated Show resolved Hide resolved
Co-authored-by: Agriya Khetarpal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants