File tree Expand file tree Collapse file tree 4 files changed +4
-24
lines changed Expand file tree Collapse file tree 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
101101To find out what the size of the output data will be, use the {func}` dwt_coeff_len `
102102function:
103103
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-
109104``` {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')
111106```
112107
113108``` {code-cell}
114- int( pywt.dwt_coeff_len(len(x), w, 'symmetric') )
109+ pywt.dwt_coeff_len(len(x), w, 'symmetric')
115110```
116111
117112and the length of the output is:
Original file line number Diff line number Diff line change @@ -120,15 +120,12 @@ print(w.family_name)
120120
1211212 . Decomposition ({attr}` ~Wavelet.dec_len ` ) and reconstruction ({attr}` ~.Wavelet.rec_len ` ) filter lengths:
122122
123- <!-- # int() is for normalizing longs and ints for doctest -->
124- <!-- TODO: FIXME: note: might not be needed anymore -->
125-
126123``` {code-cell}
127- int( w.dec_len)
124+ w.dec_len
128125```
129126
130127``` {code-cell}
131- int( w.rec_len)
128+ w.rec_len
132129```
133130
1341313 . Orthogonality ({attr}` ~Wavelet.orthogonal ` ) and biorthogonality ({attr}` ~Wavelet.biorthogonal ` ):
Original file line number Diff line number Diff line change @@ -36,15 +36,6 @@ kernelspec:
3636
3737+++
3838
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-
4839# Wavelet Packets
4940
5041## ` import pywt ` and construct a helper function
Original file line number Diff line number Diff line change @@ -40,10 +40,7 @@ kernelspec:
4040
4141## Import pywt
4242
43- <!-- TODO: check if needed anymore -->
44-
4543``` {code-cell}
46- from __future__ import print_function
4744import pywt
4845import numpy
4946```
You can’t perform that action at this time.
0 commit comments