Skip to content

cwt always fails with the message AttributeError: 'pywt._extensions._pywt.Wavelet' object has no attribute 'comple x_cwt' #776

Open
@algebravic

Description

@algebravic

I installed pywavelts on an M2 mac using Python 3.11. Whenever I try to use cwt is fails with the message:

AttributeError: 'pywt._extensions._pywt.Wavelet' object has no attribute 'complex_cwt'

What is this about? Is there some problem with M2 macs?

I tried an installation using pip which gave version 1.7.0. I then tried the current github version which is 1.8.0.dev0

Any suggestions? In any case this isn't an acceptable error message.

To be more specific I tried
cwt(bnds, 1, 'coif1') where bnds is a numpy array of np.float64. No matter what wavelet or scale I try I get the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions