From edfb8262bae6fa0fc6208b3a09925c05fa1df962 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Mon, 26 Sep 2011 16:56:09 -0700 Subject: [PATCH] DOC: Fix dtype converter docstring typos. --- scikits/image/util/dtype.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scikits/image/util/dtype.py b/scikits/image/util/dtype.py index 1abbbe4e..60f05bb8 100644 --- a/scikits/image/util/dtype.py +++ b/scikits/image/util/dtype.py @@ -104,7 +104,7 @@ def img_as_float(image): return _convert(image, np.float64, prec_loss) def img_as_uint(image): - """Convert an image to 64-bit unsigned integer format. + """Convert an image to 16-bit unsigned integer format. Parameters ---------- @@ -113,7 +113,7 @@ def img_as_uint(image): Returns ------- - out : ndarray of uint64 + out : ndarray of uint16 Output image. Notes @@ -126,7 +126,7 @@ def img_as_uint(image): return _convert(image, np.uint16, prec_loss) def img_as_int(image): - """Convert an image to 64-bit signed integer format. + """Convert an image to 16-bit signed integer format. Parameters ---------- @@ -135,7 +135,7 @@ def img_as_int(image): Returns ------- - out : ndarray of uint64 + out : ndarray of uint16 Output image. Notes