From 6f3520b83eee7640ea466a8c090106a930f84931 Mon Sep 17 00:00:00 2001 From: "Gregory R. Lee" Date: Thu, 11 Aug 2016 10:51:58 -0400 Subject: [PATCH] DOC: add missing multichannel info to the docstring --- skimage/restoration/_denoise.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/skimage/restoration/_denoise.py b/skimage/restoration/_denoise.py index 4e724447..377cefc3 100644 --- a/skimage/restoration/_denoise.py +++ b/skimage/restoration/_denoise.py @@ -400,7 +400,7 @@ def denoise_wavelet(img, sigma=None, wavelet='db1', mode='soft', Parameters ---------- - img : ndarray (2D/3D) of ints, uints or floats + img : ndarray ([M[, N[, ...P]][, C]) of ints, uints or floats Input data to be denoised. `img` can be of any numeric type, but it is cast into an ndarray of floats for the computation of the denoised image. @@ -416,6 +416,9 @@ def denoise_wavelet(img, sigma=None, wavelet='db1', mode='soft', An optional argument to choose the type of denoising performed. It noted that choosing soft thresholding given additive noise finds the best approximation of the original image. + multichannel : bool, optional + Apply wavelet denoising separately for each channel (where channels + correspond to the final axis of the array). Returns -------