File: dwt-coefficient-handling.rst

package info (click to toggle)
pywavelets 1.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,680 kB
  • sloc: python: 8,849; ansic: 5,134; makefile: 93
file content (32 lines) | stat: -rw-r--r-- 1,113 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.. _ref-dwt-coef:

=========================
Handling DWT Coefficients
=========================

Convenience routines are available for converting the outputs of the multilevel
dwt functions (``wavedec``, ``wavedec2`` and ``wavedecn``) to and from a
single, concatenated coefficient array.

.. currentmodule:: pywt

Concatenating all coefficients into a single n-d array
------------------------------------------------------
.. autofunction:: coeffs_to_array

Splitting concatenated coefficient array back into its components
-----------------------------------------------------------------
.. autofunction:: array_to_coeffs

Raveling and unraveling coefficients to/from a 1D array
-------------------------------------------------------
.. autofunction:: ravel_coeffs
.. autofunction:: unravel_coeffs

Multilevel: Total size of all coefficients - ``wavedecn_size``
--------------------------------------------------------------
.. autofunction:: wavedecn_size

Multilevel: n-d coefficient shapes - ``wavedecn_shapes``
--------------------------------------------------------
.. autofunction:: wavedecn_shapes