File tree 4 files changed +4
-24
lines changed
4 files changed +4
-24
lines changed Original file line number Diff line number Diff line change @@ -101,17 +101,12 @@ data length but also on the :class:Wavelet type (particularly on its
101
101
To find out what the size of the output data will be, use the {func}` dwt_coeff_len `
102
102
function:
103
103
104
- <!-- # int() is for normalizing Python integers and long integers
105
- # for documentation tests -->
106
- <!-- though the doctests might not be needed anymore because MyST is testing -->
107
- <!-- these by executing the notebooks? -->
108
-
109
104
``` {code-cell}
110
- int( pywt.dwt_coeff_len(data_len=len(x), filter_len=w.dec_len, mode='symmetric') )
105
+ pywt.dwt_coeff_len(data_len=len(x), filter_len=w.dec_len, mode='symmetric')
111
106
```
112
107
113
108
``` {code-cell}
114
- int( pywt.dwt_coeff_len(len(x), w, 'symmetric') )
109
+ pywt.dwt_coeff_len(len(x), w, 'symmetric')
115
110
```
116
111
117
112
and the length of the output is:
Original file line number Diff line number Diff line change @@ -120,15 +120,12 @@ print(w.family_name)
120
120
121
121
2 . Decomposition ({attr}` ~Wavelet.dec_len ` ) and reconstruction ({attr}` ~.Wavelet.rec_len ` ) filter lengths:
122
122
123
- <!-- # int() is for normalizing longs and ints for doctest -->
124
- <!-- TODO: FIXME: note: might not be needed anymore -->
125
-
126
123
``` {code-cell}
127
- int( w.dec_len)
124
+ w.dec_len
128
125
```
129
126
130
127
``` {code-cell}
131
- int( w.rec_len)
128
+ w.rec_len
132
129
```
133
130
134
131
3 . Orthogonality ({attr}` ~Wavelet.orthogonal ` ) and biorthogonality ({attr}` ~Wavelet.biorthogonal ` ):
Original file line number Diff line number Diff line change @@ -36,15 +36,6 @@ kernelspec:
36
36
37
37
+++
38
38
39
- <!-- not sure if this is needed anymore? -->
40
-
41
- ``` {code-cell}
42
- ---
43
- tags: [hide-input]
44
- ---
45
- from __future__ import print_function
46
- ```
47
-
48
39
# Wavelet Packets
49
40
50
41
## ` import pywt ` and construct a helper function
Original file line number Diff line number Diff line change @@ -40,10 +40,7 @@ kernelspec:
40
40
41
41
## Import pywt
42
42
43
- <!-- TODO: check if needed anymore -->
44
-
45
43
``` {code-cell}
46
- from __future__ import print_function
47
44
import pywt
48
45
import numpy
49
46
```
You can’t perform that action at this time.
0 commit comments