You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/release/1.1.0-notes.rst
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,24 @@ Deprecated features
17
17
Backwards incompatible changes
18
18
==============================
19
19
20
+
When using complex-valued wavelets with the ``cwt``, the output will now be
21
+
the complex conjugate of the result that was produced by PyWavelets 1.0.x.
22
+
This was done to account for a bug described below. The magnitude of the
23
+
``cwt`` coefficients will still match those from previous releases.
24
+
20
25
Bugs Fixed
21
26
==========
22
-
For the complex wavelet transforms, the tests were based on older implementation of Matlab CWT function that had an issue with the phase of the complex wavelet coefficients.
23
-
Consequently, the complex wavelet coefficients were complex conjugates of the proper result.
24
-
The tests were made using cmor1.0-1.0 and compared to the WT implementation proposed by Matlab R2017b and Lancaster University, Physics department Matlab function ``wt.m``.
27
+
28
+
For a ``cwt`` with complex wavelets, the results in PyWavelets 1.0.x releases
29
+
matched the output of Matlab R2012a's ``cwt``. Howveer, older Matlab releases
30
+
like R2012a had a phase that was of opposite sign to that given in textbook
31
+
definitions of the CWT (Eq. 2 of Torrence and Compo's review article, "A
32
+
Practical Guide to Wavelet Analysis"). Consequently, the wavelet coefficients
33
+
were the complex conjugates of the expected result. This was validated by
34
+
comparing the results of a transform using ``cmor1.0-1.0`` as compared to the
35
+
``cwt`` implementation available in Matlab R2017b as well as the function
36
+
``wt.m`` from the Lancaster University Physics department's
0 commit comments