@@ -26,7 +26,7 @@ def dwt_max_level(data_len, filter_len):
2626 data_len : int
2727 Input data length.
2828 filter_len : int, str or Wavelet
29- The wavelet filter length. Alternatively, the name of a discrete
29+ The wavelet filter length. Alternatively, the name of a discrete
3030 wavelet or a Wavelet object can be specified.
3131
3232 Returns
@@ -38,8 +38,8 @@ def dwt_max_level(data_len, filter_len):
3838 -----
3939 The rational for the choice of levels is the maximum level where at least
4040 one coefficient in the output is uncorrupted by edge effects caused by
41- signal extension. Put another way, decomposition stops when the signal
42- becomes shorter than the FIR filter length for a given wavelet. This
41+ signal extension. Put another way, decomposition stops when the signal
42+ becomes shorter than the FIR filter length for a given wavelet. This
4343 corresponds to:
4444
4545 .. max_level = floor(log2(data_len/(filter_len - 1)))
@@ -66,7 +66,7 @@ def dwt_max_level(data_len, filter_len):
6666 filter_len = Wavelet (filter_len ).dec_len
6767 else :
6868 raise ValueError (
69- ("'{}', is not a recognized discrete wavelet. A list of "
69+ ("'{}', is not a recognized discrete wavelet. A list of "
7070 "supported wavelet names can be obtained via "
7171 "pywt.wavelist(kind='discrete')" ).format (filter_len ))
7272 elif not (isinstance (filter_len , Number ) and filter_len % 1 == 0 ):
@@ -198,11 +198,11 @@ def idwt(cA, cD, wavelet, mode='symmetric', axis=-1):
198198 Parameters
199199 ----------
200200 cA : array_like or None
201- Approximation coefficients. If None, will be set to array of zeros
202- with same shape as `cD `.
201+ Approximation coefficients. If None, will be set to array of zeros
202+ with same shape as ``cD` `.
203203 cD : array_like or None
204- Detail coefficients. If None, will be set to array of zeros
205- with same shape as `cA `.
204+ Detail coefficients. If None, will be set to array of zeros
205+ with same shape as ``cA` `.
206206 wavelet : Wavelet object or name
207207 Wavelet to use
208208 mode : str, optional (default: 'symmetric')
@@ -224,9 +224,9 @@ def idwt(cA, cD, wavelet, mode='symmetric', axis=-1):
224224 >>> pywt.idwt(cA, cD, 'db2', 'smooth')
225225 array([ 1., 2., 3., 4., 5., 6.])
226226
227- One of the neat features of `idwt` is that one of the ``cA`` and ``cD``
228- arguments can be set to None. In that situation the reconstruction will be
229- performed using only the other one. Mathematically speaking, this is
227+ One of the neat features of `` idwt` ` is that one of the ``cA`` and ``cD``
228+ arguments can be set to None. In that situation the reconstruction will be
229+ performed using only the other one. Mathematically speaking, this is
230230 equivalent to passing a zero-filled array as one of the arguments.
231231
232232 >>> (cA, cD) = pywt.dwt([1,2,3,4,5,6], 'db2', 'smooth')
@@ -300,7 +300,7 @@ def downcoef(part, data, wavelet, mode='symmetric', level=1):
300300
301301 Partial Discrete Wavelet Transform data decomposition.
302302
303- Similar to `pywt. dwt`, but computes only one set of coefficients.
303+ Similar to `` dwt` `, but computes only one set of coefficients.
304304 Useful when you need only approximation or only details at the given level.
305305
306306 Parameters
@@ -316,9 +316,9 @@ def downcoef(part, data, wavelet, mode='symmetric', level=1):
316316 wavelet : Wavelet object or name
317317 Wavelet to use
318318 mode : str, optional
319- Signal extension mode, see `Modes`. Default is 'symmetric'.
319+ Signal extension mode, see `` Modes``. Default is 'symmetric'.
320320 level : int, optional
321- Decomposition level. Default is 1.
321+ Decomposition level. Default is 1.
322322
323323 Returns
324324 -------
@@ -362,7 +362,7 @@ def upcoef(part, coeffs, wavelet, level=1, take=0):
362362 wavelet : Wavelet object or name
363363 Wavelet to use
364364 level : int, optional
365- Multilevel reconstruction level. Default is 1.
365+ Multilevel reconstruction level. Default is 1.
366366 take : int, optional
367367 Take central part of length equal to 'take' from the result.
368368 Default is 0.
0 commit comments