| 1 |
.. _ref-other: |
| 2 |
|
| 3 |
.. currentmodule:: pywt |
| 4 |
|
| 5 |
=============== |
| 6 |
Other functions |
| 7 |
=============== |
| 8 |
|
| 9 |
|
| 10 |
Integrating wavelet functions |
| 11 |
----------------------------- |
| 12 |
|
| 13 |
.. autofunction:: integrate_wavelet |
| 14 |
|
| 15 |
The result of the call depends on the ``wavelet`` argument: |
| 16 |
|
| 17 |
* for orthogonal and continuous wavelets - an integral of the |
| 18 |
wavelet function specified on an x-grid:: |
| 19 |
|
| 20 |
[int_psi, x_grid] = integrate_wavelet(wavelet, precision) |
| 21 |
|
| 22 |
* for other wavelets - integrals of decomposition and |
| 23 |
reconstruction wavelet functions and a corresponding x-grid:: |
| 24 |
|
| 25 |
[int_psi_d, int_psi_r, x_grid] = integrate_wavelet(wavelet, precision) |
| 26 |
|
| 27 |
|
| 28 |
Central frequency of ``psi`` wavelet function |
| 29 |
--------------------------------------------- |
| 30 |
|
| 31 |
.. autofunction:: central_frequency |
| 32 |
|
| 33 |
.. autofunction:: scale2frequency |
| 34 |
|
| 35 |
|
| 36 |
Quadrature Mirror Filter |
| 37 |
------------------------ |
| 38 |
|
| 39 |
.. autofunction:: qmf |
| 40 |
|
| 41 |
Orthogonal Filter Banks |
| 42 |
----------------------- |
| 43 |
|
| 44 |
.. autofunction:: orthogonal_filter_bank |
| 45 |
|
| 46 |
|
| 47 |
Example Datasets |
| 48 |
---------------- |
| 49 |
|
| 50 |
The following example datasets are available in the module ``pywt.data``: |
| 51 |
|
| 52 |
============ ======================================= |
| 53 |
**name** **description** |
| 54 |
============ ======================================= |
| 55 |
ecg ECG waveform (1024 samples) |
| 56 |
aero grayscale image (512x512) |
| 57 |
ascent grayscale image (512x512) |
| 58 |
camera grayscale image (512x512) |
| 59 |
nino sea surface temperature (264 samples) |
| 60 |
demo_signal various synthetic 1d test signals |
| 61 |
============ ======================================= |
| 62 |
|
| 63 |
Each can be loaded via a function of the same name. |
| 64 |
|
| 65 |
.. currentmodule:: pywt.data |
| 66 |
.. autofunction:: demo_signal |
| 67 |
|
| 68 |
**Example:** |
| 69 |
|
| 70 |
.. sourcecode:: python |
| 71 |
|
| 72 |
>>> import pywt |
| 73 |
>>> camera = pywt.data.camera() |
| 74 |
>>> doppler = pywt.data.demo_signal('doppler', 1024) |
| 75 |
>>> available_signals = pywt.data.demo_signal('list') |