@@ -49,6 +49,7 @@ Custom discrete wavelets are also supported through the
49
49
**Example: **
50
50
51
51
.. try_examples ::
52
+ :button_text: Try it in your browser!
52
53
53
54
>>> import pywt
54
55
>>> wavelet = pywt.Wavelet(' db1' )
@@ -129,6 +130,7 @@ Custom discrete wavelets are also supported through the
129
130
**Example: **
130
131
131
132
.. try_examples ::
133
+ :button_text: Try it in your browser!
132
134
133
135
>>> def format_array (arr ):
134
136
... return " [%s ]" % " , " .join([" %.14f " % x for x in arr])
@@ -172,6 +174,7 @@ Approximating wavelet and scaling functions - ``Wavelet.wavefun()``
172
174
**Example: **
173
175
174
176
.. try_examples ::
177
+ :button_text: Try it in your browser!
175
178
176
179
>>> import pywt
177
180
>>> wavelet = pywt.Wavelet(' db2' )
@@ -187,6 +190,7 @@ Approximating wavelet and scaling functions - ``Wavelet.wavefun()``
187
190
**Example: **
188
191
189
192
.. try_examples ::
193
+ :button_text: Try it in your browser!
190
194
191
195
>>> import pywt
192
196
>>> wavelet = pywt.Wavelet(' bior3.5' )
@@ -240,6 +244,7 @@ from plain Python lists of filter coefficients and a *filter bank-like* object.
240
244
**Example: **
241
245
242
246
.. try_examples ::
247
+ :button_text: Try it in your browser!
243
248
244
249
>>> import pywt, math
245
250
>>> c = math.sqrt(2 )/ 2
@@ -274,6 +279,7 @@ from plain Python lists of filter coefficients and a *filter bank-like* object.
274
279
**Example: **
275
280
276
281
.. try_examples ::
282
+ :button_text: Try it in your browser!
277
283
278
284
>>> import pywt
279
285
>>> wavelet = pywt.ContinuousWavelet(' gaus1' )
@@ -329,6 +335,7 @@ from plain Python lists of filter coefficients and a *filter bank-like* object.
329
335
**Example: **
330
336
331
337
.. try_examples ::
338
+ :button_text: Try it in your browser!
332
339
333
340
>>> import pywt
334
341
>>> wavelet = pywt.ContinuousWavelet(' gaus1' )
@@ -359,6 +366,7 @@ Approximating wavelet functions - ``ContinuousWavelet.wavefun()``
359
366
**Example: **
360
367
361
368
.. try_examples ::
369
+ :button_text: Try it in your browser!
362
370
363
371
>>> import pywt
364
372
>>> wavelet = pywt.ContinuousWavelet(' gaus1' )
@@ -376,6 +384,7 @@ Approximating wavelet functions - ``ContinuousWavelet.wavefun()``
376
384
**Example: **
377
385
378
386
.. try_examples ::
387
+ :button_text: Try it in your browser!
379
388
380
389
>>> import pywt
381
390
>>> wavelet = pywt.DiscreteContinuousWavelet(' db1' )
0 commit comments