| 1 |
============================== |
| 2 |
PyWavelets 0.4.0 Release Notes |
| 3 |
============================== |
| 4 |
|
| 5 |
.. contents:: |
| 6 |
|
| 7 |
PyWavelets 0.4.0 is the culmination of 6 months of work. In addition to |
| 8 |
several new features, some changes and deprecations have been made to streamline |
| 9 |
the API. |
| 10 |
|
| 11 |
This release requires Python 2.6, 2.7 or 3.3-3.5 and NumPy 1.6.2 or greater. |
| 12 |
|
| 13 |
Highlights of this release include: |
| 14 |
|
| 15 |
- 1D and 2D inverse stationary wavelet transforms |
| 16 |
- Substantially faster 2D and nD discrete wavelet transforms |
| 17 |
- Complex number support |
| 18 |
- nD versions of the multilevel DWT and IDWT |
| 19 |
|
| 20 |
|
| 21 |
New features |
| 22 |
============ |
| 23 |
|
| 24 |
1D and 2D inverse stationary wavelet transforms |
| 25 |
----------------------------------------------- |
| 26 |
1D (``iswt``) and 2D (``iswt2``) inverse stationary wavelet transforms were |
| 27 |
added. These currently only support even length inputs. |
| 28 |
|
| 29 |
|
| 30 |
Faster 2D and nD wavelet transforms |
| 31 |
----------------------------------- |
| 32 |
The multidimensional DWT and IDWT code was refactored and is now an order of |
| 33 |
magnitude faster than in previous releases. The following functions benefit: |
| 34 |
``dwt2``, ``idwt2``, ``dwtn``, ``idwtn``. |
| 35 |
|
| 36 |
|
| 37 |
Complex floating point support |
| 38 |
------------------------------ |
| 39 |
64 and 128-bit complex data types are now supported by all wavelet transforms. |
| 40 |
|
| 41 |
|
| 42 |
nD implementation of the multilevel DWT and IDWT |
| 43 |
------------------------------------------------ |
| 44 |
The existing 1D and 2D multilevel transforms were supplemented with an nD |
| 45 |
implementation. |
| 46 |
|
| 47 |
|
| 48 |
Wavelet transforms can be applied along a specific axis/axes |
| 49 |
------------------------------------------------------------ |
| 50 |
All wavelet transform functions now support explicit specification of the axis |
| 51 |
or axes upon which to perform the transform. |
| 52 |
|
| 53 |
|
| 54 |
Example Datasets |
| 55 |
---------------- |
| 56 |
Two additional 2D grayscale images were added (`camera`, `ascent`). The |
| 57 |
previously existing 1D ECG data (`ecg`) and the 2D aerial image (`aero`) |
| 58 |
used in the demos can also now be imported via functions defined in |
| 59 |
`pywt.data` (e.g. ``camera = pywt.data.camera()``) |
| 60 |
|
| 61 |
|
| 62 |
Deprecated features |
| 63 |
=================== |
| 64 |
|
| 65 |
A number of functions have been renamed, the old names are deprecated and will |
| 66 |
be removed in a future release: |
| 67 |
|
| 68 |
- ``intwave``, renamed to ``integrate_wavelet`` |
| 69 |
- ``centrfrq``, renamed to ``central_frequency`` |
| 70 |
- ``scal2frq``, renamed to ``scale2frequency`` |
| 71 |
- ``orthfilt``, renamed to ``orthogonal_filter_bank`` |
| 72 |
|
| 73 |
Integration of general signals (i.e. not wavelets) with ``integrate_wavelet`` |
| 74 |
is deprecated. |
| 75 |
|
| 76 |
The ``MODES`` object and its attributes are deprecated. The new name is |
| 77 |
``Modes``, and the attribute names are expanded: |
| 78 |
|
| 79 |
- ``zpd``, renamed to ``zero`` |
| 80 |
- ``cpd``, renamed to ``constant`` |
| 81 |
- ``sp1``, renamed to ``smooth`` |
| 82 |
- ``sym``, renamed to ``symmetric`` |
| 83 |
- ``ppd``, renamed to ``periodic`` |
| 84 |
- ``per``, renamed to ``periodization`` |
| 85 |
|
| 86 |
Backwards incompatible changes |
| 87 |
============================== |
| 88 |
|
| 89 |
``idwt`` no longer takes a ``correct_size`` parameter. As a consequence, |
| 90 |
``idwt2`` inputs must match exactly in length. For multilevel transforms, where |
| 91 |
arrays differing in size by one element may be produced, use the ``waverec`` |
| 92 |
functions from the ``multilevel`` module instead. |
| 93 |
|
| 94 |
Bugs Fixed |
| 95 |
========== |
| 96 |
|
| 97 |
float32 inputs were not always respected. All transforms now return float32 |
| 98 |
outputs when called using float32 inputs. |
| 99 |
|
| 100 |
Incorrect detail coefficients were returned by `downcoef` when `level > 1`. |
| 101 |
|
| 102 |
Other changes |
| 103 |
============= |
| 104 |
|
| 105 |
Much of the API documentation is now autogenerated from the corresponding |
| 106 |
function docstrings. The numpydoc sphinx extension is now needed to build the |
| 107 |
documentation. |
| 108 |
|
| 109 |
Authors |
| 110 |
======= |
| 111 |
|
| 112 |
* Thomas Arildsen + |
| 113 |
* François Boulogne |
| 114 |
* Ralf Gommers |
| 115 |
* Gregory R. Lee |
| 116 |
* Michael Marino + |
| 117 |
* Aaron O'Leary + |
| 118 |
* Daniele Tricoli + |
| 119 |
* Kai Wohlfahrt |
| 120 |
|
| 121 |
A total of 8 people contributed to this release. |
| 122 |
People with a "+" by their names contributed a patch for the first time. |
| 123 |
This list of names is automatically generated, and may not be fully complete. |
| 124 |
|
| 125 |
|
| 126 |
Issues closed for v0.4.0 |
| 127 |
------------------------ |
| 128 |
|
| 129 |
- `#46 <https://github.com/PyWavelets/pywt/issues/46>`__: Independent test comparison |
| 130 |
- `#95 <https://github.com/PyWavelets/pywt/issues/95>`__: Simplify Matlab tests |
| 131 |
- `#97 <https://github.com/PyWavelets/pywt/issues/97>`__: BUG: erroneous detail coefficients returned by downcoef with... |
| 132 |
- `#140 <https://github.com/PyWavelets/pywt/issues/140>`__: demo/dwt_signal_decomposition.py : TypeError: object of type... |
| 133 |
- `#141 <https://github.com/PyWavelets/pywt/issues/141>`__: Documentation needs update: ImportError: cannot import name 'multilevel' |
| 134 |
|
| 135 |
|
| 136 |
Pull requests for v0.4.0 |
| 137 |
------------------------ |
| 138 |
|
| 139 |
- `#55 <https://github.com/PyWavelets/pywt/pull/55>`__: [RFC] Api changes |
| 140 |
- `#59 <https://github.com/PyWavelets/pywt/pull/59>`__: Refactor convolution.c.src |
| 141 |
- `#64 <https://github.com/PyWavelets/pywt/pull/64>`__: MAINT: make LH, HL variable names in idwt2 consistent with dwt2 |
| 142 |
- `#67 <https://github.com/PyWavelets/pywt/pull/67>`__: ENH: add wavedecn and waverecn functions |
| 143 |
- `#68 <https://github.com/PyWavelets/pywt/pull/68>`__: ENH: Faster dwtn and idwtn |
| 144 |
- `#88 <https://github.com/PyWavelets/pywt/pull/88>`__: DOC minor edit about possible naming |
| 145 |
- `#93 <https://github.com/PyWavelets/pywt/pull/93>`__: Added implementation of iswt and iswt2 |
| 146 |
- `#98 <https://github.com/PyWavelets/pywt/pull/98>`__: fix downcoef detail coefficients for level > 1 |
| 147 |
- `#99 <https://github.com/PyWavelets/pywt/pull/99>`__: complex support in all dwt and idwt related functions |
| 148 |
- `#100 <https://github.com/PyWavelets/pywt/pull/100>`__: replace mlabwrap with python-matlab-bridge in Matlab tests |
| 149 |
- `#102 <https://github.com/PyWavelets/pywt/pull/102>`__: Replace some .src expansion with macros |
| 150 |
- `#104 <https://github.com/PyWavelets/pywt/pull/104>`__: Faster idwtn/dwtn |
| 151 |
- `#106 <https://github.com/PyWavelets/pywt/pull/106>`__: make sure transforms respect float32 dtype |
| 152 |
- `#109 <https://github.com/PyWavelets/pywt/pull/109>`__: DOC: fix broken link in sidebar for html docs. |
| 153 |
- `#112 <https://github.com/PyWavelets/pywt/pull/112>`__: Complex fix |
| 154 |
- `#113 <https://github.com/PyWavelets/pywt/pull/113>`__: TST: don't build .exe installers on Appveyor anymore, only wheels. |
| 155 |
- `#116 <https://github.com/PyWavelets/pywt/pull/116>`__: [RFC] ENH: Add axis argument to dwt |
| 156 |
- `#117 <https://github.com/PyWavelets/pywt/pull/117>`__: MAINT: remove deprecated for loop syntax from Cython code |
| 157 |
- `#121 <https://github.com/PyWavelets/pywt/pull/121>`__: Fix typo |
| 158 |
- `#123 <https://github.com/PyWavelets/pywt/pull/123>`__: MAINT: remove some unused imports |
| 159 |
- `#124 <https://github.com/PyWavelets/pywt/pull/124>`__: switch travis from python 3.5-dev to 3.5 |
| 160 |
- `#130 <https://github.com/PyWavelets/pywt/pull/130>`__: Add axis argument to multidim |
| 161 |
- `#138 <https://github.com/PyWavelets/pywt/pull/138>`__: WIP: Documentation updates for v0.4.0 |
| 162 |
- `#139 <https://github.com/PyWavelets/pywt/pull/139>`__: Autogenerate function API docs |
| 163 |
- `#142 <https://github.com/PyWavelets/pywt/pull/142>`__: fix broken docstring examples in _multilevel.py |
| 164 |
- `#143 <https://github.com/PyWavelets/pywt/pull/143>`__: handle None properly in waverec |
| 165 |
- `#144 <https://github.com/PyWavelets/pywt/pull/144>`__: Add importable images |
| 166 |
- `#145 <https://github.com/PyWavelets/pywt/pull/145>`__: DOC: Document MSVC versions |