Skip to content

Request: add copy method to FswavedecnResult object #518

@grlee77

Description

@grlee77

A user on the mailing list was asking how to make a copy of the coefficients returned by fswavedec.

It seems reasonable to add a copy method to the FswavedecnResult class to make this easier to do. Note that Python's own deepcopy does not currently work with FswavedecnResult objects either:

  File "stringsource", line 2, in pywt._extensions._pywt.Wavelet.__reduce_cython__

TypeError: no default __reduce__ due to non-trivial __cinit__

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions